Skip to content

Commit

Permalink
Fix BLT MPI Fortran includes
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed May 10, 2019
1 parent 6c81acf commit 643af37
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion host-configs/rzuseqlac-bgqos_0-clang@4.0.0_gfortran.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ set(ENABLE_FIND_MPI OFF CACHE BOOL "Use wrapper directly to stop FindMPI returni

set(ENABLE_WRAP_ALL_TESTS_WITH_MPIEXEC ON CACHE BOOL "Ensures that tests will be wrapped with srun to run on the backend nodes")

set(MPI_Fortran_INCLUDE_PATH "/usr/local/tools/deg/drivers/V1R2M0/ppc64/comm/gcc/include" CACHE PATH "Pass in an explicit path to help find mpif.h")
set(BLT_MPI_INCLUDES "/usr/local/tools/deg/drivers/V1R2M0/ppc64/comm/gcc/include" CACHE PATH "Pass in an explicit path to help find mpif.h")

set(MPIEXEC "/usr/bin/srun" CACHE PATH "")

Expand Down
2 changes: 1 addition & 1 deletion host-configs/rzuseqlac-bgqos_0-clang@4.0.0_xlf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ set(ENABLE_FIND_MPI OFF CACHE BOOL "Use wrapper directly to stop FindMPI returni

set(ENABLE_WRAP_ALL_TESTS_WITH_MPIEXEC ON CACHE BOOL "Ensures that tests will be wrapped with srun to run on the backend nodes")

set(MPI_Fortran_INCLUDE_PATH "/usr/local/tools/deg/drivers/V1R2M0/ppc64/comm/gcc/include" CACHE PATH "Pass in an explicit path to help find mpif.h")
set(BLT_MPI_INCLUDES "/usr/local/tools/deg/drivers/V1R2M0/ppc64/comm/gcc/include" CACHE PATH "Pass in an explicit path to help find mpif.h")

set(MPIEXEC "/usr/bin/srun" CACHE PATH "")

Expand Down
2 changes: 1 addition & 1 deletion scripts/uberenv/packages/uberenv-axom/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def install(self, spec, prefix):
"Use wrapper directly to stop FindMPI returning the wrong linker flags."))
cfg.write(cmake_cache_option("ENABLE_WRAP_ALL_TESTS_WITH_MPIEXEC", True,
"Ensures that tests will be wrapped with srun to run on the backend nodes"))
cfg.write(cmake_cache_entry("MPI_Fortran_INCLUDE_PATH",
cfg.write(cmake_cache_entry("BLT_MPI_INCLUDES",
"/usr/local/tools/deg/drivers/V1R2M0/ppc64/comm/gcc/include",
"Pass in an explicit path to help find mpif.h"))
else:
Expand Down

0 comments on commit 643af37

Please sign in to comment.