pFUnit icon indicating copy to clipboard operation
pFUnit copied to clipboard

bug in ctest macro

Open tclune opened this issue 10 months ago • 1 comments

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”)

tclune avatar Aug 11 '23 13:08 tclune