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
'KokkosKernels_FortranMangling.h' file not found #372
Comments
@spdomin I'm guessing you don't use Fortran; is that right? |
…-mangling" This reverts commit 24c2eb2, reversing changes made to 7b60b19. It turns out that this breaks builds if Fortran is not enabled. CMake apparently permits the configuration to proceed, but the build fails with a missing header file. Here are some issues that were filed as a result: kokkos/kokkos-kernels#372 #4237 #4235
Other kokkos-kernels developers: These changes were a patch to Trilinos. I was about to add them to the kokkos-kernels repo as well, but these build errors show that we also need to test with Fortran disabled. Thus, these changes are not in the kokkos-kernels repo; they are only in the Trilinos repo, in develop. I have a Trilinos PR open to revert the changes. I think I know what to do to fix this (extra header file with "if Fortran enabled" macro to decide whether to include the Fortran mangling header file that CMake generates). |
As per @mhoemmen's comment above, I am closing this and referring to: |
All of my Trilinos develop nightly tests failed due to the error below.
In file included from /Users/naluIt/gitHubWork/nightlyBuildAndTest/Nalu/src/AssembleContinuityEdgeOpenSolverAlgorithm.C:13:
In file included from /Users/naluIt/gitHubWork/nightlyBuildAndTest/Nalu/include/LinearSystem.h:12:
In file included from /Users/naluIt/gitHubWork/nightlyBuildAndTest/Nalu/include/LinearSolverTypes.h:14:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/Tpetra_CrsMatrix.hpp:1:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/Tpetra_CrsMatrix_decl.hpp:64:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosSparse.hpp:58:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosSparse_spmv.hpp:51:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosSparse_spmv_spec.hpp:53:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosSparse_spmv_impl.hpp:48:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosBlas1_scal.hpp:47:
In file included from /Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosBlas1_scal_spec.hpp:357:
/Users/naluIt/gitHubWork/packages/install/Trilinos_nightly_release/include/KokkosBlas1_scal_tpl_spec_decl.hpp:50:10: fatal error:
'KokkosKernels_FortranMangling.h' file not found
#include "KokkosKernels_FortranMangling.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: