pFUnit
pFUnit copied to clipboard
bug in ctest macro
Reported by user:
One quick sanity check with add_pfunit_ctest.cmake though.
Line 137-140
It does a check on: If (NOT MPIEXEC_NUMPROC_FLAG)
And then
If (PFUNIT_MPI_USE_MPIEXEC) Set(MPIEXEC_EXECUTABLE ${PFUNIT_MPI_USE_MPIEXEC})
Should that “set” instead be
Set(MPIEXEC_NUMPROC_FLAG ${PFUNIT_MPI_USE_MPIEXEC_ NUMPROC_FLAG })
To match the else() just below on 141?
Else() # best guess Set(MPIEXEC_NUMPROC_FLAG “-np”)