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 72a465c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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
5 changes: 0 additions & 5 deletions .github/workflows/mpirun_workaround.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
# This script provides a workaround by putting the called sub-command into
# a script in a temporary file.

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

mpirun_args=()

script_file="$(mktemp)"
Expand Down

0 comments on commit 72a465c

Please sign in to comment.