-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issue compiling Trilinos #136
Comments
Weird I've never seen that error before. Can you paste the contents of |
Never seen this either, but other people have: spack/spack#16308 |
Wow, nice find! Since they're using gcc9 that might be the issue, although it seems that this should be completely orthogonal to the compiler. |
The contents of packages/kokkos/core/cmake/KokkosCore_config.h.in:
|
I do not see KokkosCore_config.h.in in packages/kokkos/cmake, but I do see a KokkosConfig.cmake.in. Do you want to see that? |
Here is the contents of build-linux-gcc-release/trilinos/src/trilinos-build/KokkosCore_config.h:
|
Actually they're using |
I use cmake-3.18.1 |
Yeah sorry I was looking at a newer version of Trilinos so |
I'll try. |
Once you've configured just do |
There's some indication that it might have something to with version of On my system |
my Make is 4.3 |
In fact looking at |
@corbett5 Using CMake-3.14.5 did not help: the build still fails with the same type of errors:
|
@klevzoff So do you suggest to use an older make? |
Yeah I'd give that a try. It's funny because it seems they're aware of some issue with make 4.3 |
So it looks like they also fixed it in upstream. If it did make it into 13.0 release, we're going to switch to that hopefully soon enough and the problem will be fixed. Otherwise, we might need to make our own patch. In the meantime, trying a pre-4.3 make would be a workaround, if feasible without breaking your whole system. |
@klevzoff Which one do you suggest to go with? https://ftp.gnu.org/gnu/make/ |
4.2.1 definitely works and is the closest to the one you have, so I'd suggest that perhaps |
So I compiled my own make (4.2.1) and used it during |
I think you'd need to put it in your path so that |
I am unable to compile Trilinos.
My host-config: https://pastebin.com/mBuvcBVy
Trilinos build log (up to the first errors): https://pastebin.com/Apckm1ju
Log of the overall cmake run on TPL repo: https://pastebin.com/mF0ZnViy
Additional details:
Platform: Manjaro Linux
Compiler suite: gcc 10.2
Let me know should I post additional details.
The text was updated successfully, but these errors were encountered: