cmake and ctest corrections for mpi and srun
[unres.git] / CMakeLists.txt
index 3022b58..2ee17e3 100644 (file)
@@ -144,7 +144,12 @@ find_package(MPI QUIET)
 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_MPIRUN "Use mpirun instead of mpiexec ?" OFF )
 else()
   message("MPI not found - disabling MPI compile flags ")
   set ( UNRES_WITH_MPI "OFF")