Open tclune opened 11 months ago
Yeah, this:
if (NOT MPIEXEC_NUMPROC_FLAG)
if (PFUNIT_MPI_USE_MPIEXEC)
set(MPIEXEC_EXECUTABLE ${PFUNIT_MPI_USE_MPIEXEC})
else() # best guess
set(MPIEXEC_NUMPROC_FLAG "-np")
endif()
endif()
does look a bit wonky.
Probably should be:
if (NOT MPIEXEC_NUMPROC_FLAG)
if (PFUNIT_MPI_MPIEXEC_NUMPROC_FLAG)
set(MPIEXEC_NUMPROC_FLAG ${PFUNIT_MPI_MPIEXEC_NUMPROC_FLAG})
else() # best guess
set(MPIEXEC_NUMPROC_FLAG "-np")
endif()
endif()
Reported by user: