File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
examples/advection_diffusion Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ script:
3535 - mkdir build
3636 - cd build
3737 - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -Dpfasst_WITH_MPI=${WITH_MPI} -Dpfasst_DISABLE_LIBCXX=ON -Dpfasst_BUILD_TESTS=ON -Dpfasst_BUILD_EXAMPLES=ON ..
38- - if [ "${WITH_MPI}" == "ON" ]; then mpicxx --version; fi
3938 - make
4039 - make test
4140 - make run_example_all
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if(${pfasst_WITH_MPI})
6666 message (STATUS " creating make targets to run MPI examples" )
6767 foreach (example ${advec_mpi_examples} )
6868 add_custom_target (run_example_advec_${example}
69- COMMAND ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${MPIEXEC_PREFLAGS} ${example} ${MPIEXEC_POSTFLAGS}
69+ COMMAND ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${MPIEXEC_PREFLAGS} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /examples/advection_diffusion/ ${ example} ${MPIEXEC_POSTFLAGS}
7070 DEPENDS ${example}
7171 WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /examples/advection_diffusion
7272 COMMENT "Running Advection-Diffusion example: ${example} " VERBATIM
You can’t perform that action at this time.
0 commit comments