-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build Cantera with GNU compilers #1440
Comments
This isn't a generic problem with using the GNU compilers, but something peculiar to your system. Cantera is built using g++ all the time, as you can see from looking at the CI jobs run using GitHub Actions. This warning seems to be key:
There seems to be something that is giving SCons the idea to use the Intel compilers. Are you running this in a shell where you've run the activation scripts for the Intel compilers? Can you try without doing that? Can you provide the output of the commands:
(These latter two will generate a lot of output, so please save them to a file and include as attachments). |
Yeah it must be, I'm not familiar with Scons unfortunately.
The two things I can think of are Intel MPI (but it's configured to use GNU compilers as a backend) and Intel MKL. I am going to do more tests tomorrow and answer your questions. |
Ok, that was my fault, I had somehow corrupted my environment. Sorry for the noise! Unrelated question before closing this, does Cantera support the int64 version of SUNDIALS and does it require the LAPACK-based solvers of SUNDIALS? |
Closing. For general unrelated questions, please use the user forum. Thanks! PS: the discussion in #1419 may be relevant for this question. |
Problem description
I was able to build Cantera with Intel compilers without any issues but I cannot seem to be able to compile with the GNU compilers.
The problem occurs at the very beginning of the build script. For some reason, I get a warning about the Intel compilers and then Scons cannot compile
.cpp
files.Steps to reproduce
Just run
scons build CC=gcc CXX=g++ FORTRAN=gfortran
.Behavior
System information
The text was updated successfully, but these errors were encountered: