Skip to content

Commit

Permalink
Seems we need the MPI workaround for Conda now too.....
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jun 6, 2024
1 parent 92c5de8 commit 9dd2a14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ jobs:
-DopenPMD_USE_MPI=ON \
-DopenPMD_USE_HDF5=ON \
-DopenPMD_USE_ADIOS2=ON \
-DopenPMD_USE_INVASIVE_TESTS=ON
-DopenPMD_USE_INVASIVE_TESTS=ON \
-DMPIEXEC_EXECUTABLE=".github/workflows/mpirun_workaround.sh"
cmake --build build --parallel 2
cd build
ctest --output-on-failure
2 changes: 1 addition & 1 deletion .github/workflows/mpirun_workaround.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# This script provides a workaround by putting the called sub-command into
# a script in a temporary file.

mpiexec -n 1 ls --all \
mpiexec -n 1 ls -l \
&& echo "MPIRUN WORKING AGAIN, PLEASE REMOVE WORKAROUND" >&2 \
&& exit 1 \
|| true
Expand Down

0 comments on commit 9dd2a14

Please sign in to comment.