- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to build SuiteSparse 5.10.1 with the "Intel parallel studio XE 2020 R0". The code compiles fine with GCC 6.3.0 and GCC 8.2.0 but when trying to compile it with the Intel compiler, then I get a lot of error messages:
/cluster/apps/spack/lib/spack/env/intel/icc -O3 -fPIC -fno-common -fexceptions -O3 -fexceptions -fPIC -I../Include -I../../COLAMD/Include -I../../AMD/Include -I../../SuiteSparse_config -c ../Source/slip_reach.c
../Source/slip_create_mpq_array.c(34): error: type name is not allowed
for (int64_t i = 0; i < n; i++)
^
../Source/slip_create_mpq_array.c(34): error: expected a ";"
for (int64_t i = 0; i < n; i++)
^
../Source/slip_create_mpq_array.c(34): error: identifier "i" is undefined
for (int64_t i = 0; i < n; i++)
^
../Source/slip_create_mpq_array.c(40): error: type name is not allowed
for (int64_t j = 0; j < n; j++)
^
../Source/slip_create_mpq_array.c(40): error: expected a ";"
for (int64_t j = 0; j < n; j++)
^
../Source/slip_create_mpq_array.c(40): error: identifier "j" is undefined
for (int64_t j = 0; j < n; j++)
^
../Source/slip_create_mpz_array.c(34): error: type name is not allowed
for (int64_t i = 0; i < n; i++)
^
../Source/slip_create_mpz_array.c(34): error: expected a ";"
for (int64_t i = 0; i < n; i++)
^
../Source/slip_create_mpz_array.c(34): error: identifier "i" is undefined
for (int64_t i = 0; i < n; i++)
^
../Source/slip_create_mpz_array.c(40): error: type name is not allowed
for (int64_t j = 0; j < n; j++)
^
../Source/slip_create_mpz_array.c(40): error: expected a ";"
for (int64_t j = 0; j < n; j++)
^
../Source/slip_create_mpz_array.c(40): error: identifier "j" is undefined
for (int64_t j = 0; j < n; j++)
^
../Source/slip_cast_array.c(93): error: type name is not allowed
for (int64_t k = 0 ; k < n ; k++)
^
../Source/slip_cast_array.c(93): error: expected a ";"
for (int64_t k = 0 ; k < n ; k++)
^
../Source/slip_cast_array.c(93): error: identifier "k" is undefined
for (int64_t k = 0 ; k < n ; k++)
^
../Source/slip_cast_array.c(120): error: type name is not allowed
for (int64_t k = 0 ; k < n ; k++)
^
../Source/slip_cast_array.c(120): error: expected a ";"
Any help is appreciated.
Thank you and best regards
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As SuiteSparse 5.1.0 cannot be compiled with Intel 19.1.0, the solution for me was to switch to GCC, where the installation worked with versions 4.8.5, 6.3.0 and 8.2.0.
Please feel free to close this ticket as I could find a solution.
Best regards
Sam
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>> when trying to compile it with the Intel compiler, then I get a lot of error messages:
We tried to compile the Suitesparse 5.10.1 with intel compiler(icc 2021.3.0) which comes with latest oneAPI toolkits and the compilation is successful.
>> I am trying to build SuiteSparse 5.10.1 with the "Intel parallel studio XE 2020 R0".
The Intel® oneAPI Toolkits are the next-generation software development tools from Intel, following and replacing the Intel® Parallel Studio XE toolkits.
https://software.intel.com/content/www/us/en/develop/tools/oneapi/commercial-base-hpc.html#gs.516ie0
So we suggest you to try the same by downloading the latest oneAPI toolkits
Here are the links from where you can download the required toolkits
https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html
https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html
Kindly refer the below links for more details
Please upgrade to the latest (2021.3.0) version of oneAPI toolkits and do let us know your experience.
Thanks & Regards,
Vidya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Vidya,
Thank you for your reply.
I am compiling software for an HPC cluster. Software is provided for different toolchains. I spent quite some time setting up 300 software packages with my Intel 19.1.0 toolchain (https://scicomp.ethz.ch/wiki/Euler_applications_and_libraries#Intel_19.1.0). Therefore I would be interested in fixing the issue with SuiteSparse 5.1.0 when using Intel 19.1.0. Is there any possibility to get help with this?
Switching to a new Intel version would mean that I have again to start from scratch and reinstall all the software packages again, which is not feasible for me short-term.
Best regards
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
>> Therefore I would be interested in fixing the issue with SuiteSparse 5.1.0 when using Intel 19.1.0. Is there any possibility to get help with this?
The kind of errors that you are getting while compiling with intel 19.1.0 , was fixed in update 2 release of intel compiler 19.1, so you need to update the intel compiler for successful compilation.
Here is a similar query and after updating it is resolved.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Reminder:
Could you please confirm if your issue is resolved ? so that we can close this thread from our end
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As SuiteSparse 5.1.0 cannot be compiled with Intel 19.1.0, the solution for me was to switch to GCC, where the installation worked with versions 4.8.5, 6.3.0 and 8.2.0.
Please feel free to close this ticket as I could find a solution.
Best regards
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation.
We will no longer monitor this thread, If you need any additional information, please submit a new question.
Regards,
Vidya.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page