projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake and ctest corrections for mpi and srun
[unres.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
3022b58
..
2ee17e3
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-144,7
+144,12
@@
find_package(MPI QUIET)
if (MPI_Fortran_FOUND)
message("MPI found")
FIX_DBL_INCLUDE(MPI_Fortran_INCLUDE_PATH)
if (MPI_Fortran_FOUND)
message("MPI found")
FIX_DBL_INCLUDE(MPI_Fortran_INCLUDE_PATH)
+ message(MPI_Fortran_INCLUDE_PATH)
+ message(${MPI_Fortran_INCLUDE_PATH})
+ message(MPI_Fortran_LIBRARIES)
+ message(${MPI_Fortran_LIBRARIES})
option(UNRES_SRUN "Use srun instead of mpiexec ?" OFF )
option(UNRES_SRUN "Use srun instead of mpiexec ?" OFF )
+ option(UNRES_MPIRUN "Use mpirun instead of mpiexec ?" OFF )
else()
message("MPI not found - disabling MPI compile flags ")
set ( UNRES_WITH_MPI "OFF")
else()
message("MPI not found - disabling MPI compile flags ")
set ( UNRES_WITH_MPI "OFF")