Skip to content
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

Closed
spdomin opened this issue Jan 22, 2019 · 4 comments
Closed

'KokkosKernels_FortranMangling.h' file not found #372

spdomin opened this issue Jan 22, 2019 · 4 comments
Assignees

Comments

@spdomin
Copy link

spdomin commented Jan 22, 2019

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"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@mhoemmen
Copy link
Contributor

@spdomin I'm guessing you don't use Fortran; is that right?

@mhoemmen
Copy link
Contributor

trilinos/Trilinos#4237

mhoemmen pushed a commit to trilinos/Trilinos that referenced this issue Jan 22, 2019
…-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
@mhoemmen mhoemmen self-assigned this Jan 22, 2019
@mhoemmen
Copy link
Contributor

mhoemmen commented Jan 22, 2019

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).

@spdomin
Copy link
Author

spdomin commented Jan 22, 2019

As per @mhoemmen's comment above, I am closing this and referring to:

trilinos/Trilinos#4235

@spdomin spdomin closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants