Skip to content

Commit

Permalink
Merge pull request Cascella-Group-UiO#85 from hmcezar/main
Browse files Browse the repository at this point in the history
Fix CI error
  • Loading branch information
hmcezar authored Sep 5, 2024
2 parents 8f982fc + b136a28 commit feea5af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytest-mpi
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ else
fi

if [ "${ORDEROUTPUT}" -eq 1 ]; then
mpirun -n ${NPROCS} --output-filename outtest pytest ${PYTEST_ARGS} --only-mpi >/dev/null
mpirun -n ${NPROCS} --oversubscribe --output-filename outtest pytest ${PYTEST_ARGS} --only-mpi >/dev/null
exit_code=$?
for ((RANK=0; RANK<${NPROCS}; RANK++)); do
RANKFILE="outtest/1/rank.${RANK}/stdout"
Expand All @@ -94,10 +94,10 @@ else
done
rm -r outtest
elif [ "${UNMUTE}" -eq -1 ]; then
mpirun -n ${NPROCS} pytest ${PYTEST_ARGS} --only-mpi
mpirun -n ${NPROCS} --oversubscribe pytest ${PYTEST_ARGS} --only-mpi
exit_code=$?
else
mpirun -n ${NPROCS} utils/mute_all_ranks_except.sh ${UNMUTE} pytest ${PYTEST_ARGS} --only-mpi
mpirun -n ${NPROCS} --oversubscribe utils/mute_all_ranks_except.sh ${UNMUTE} pytest ${PYTEST_ARGS} --only-mpi
exit_code=$?
fi
fi
Expand Down

0 comments on commit feea5af

Please sign in to comment.