Skip to content

Commit

Permalink
CHG: adding flag to mpiexec to avoid openmpi error message about 'The…
Browse files Browse the repository at this point in the history
…re are not enough slots available'
  • Loading branch information
MathieuMorlighem committed Jul 18, 2024
1 parent 7c3cac2 commit 48737e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:

- name: Prepare MATLAB script
run: |
echo "Modifying generic.m to avoid \"There are not enough slots available\""
sed -i.back "s/mpiexec -np %i/mpiexec -np %i --oversubscribe/g" $ISSM_DIR/src/m/classes/clusters/generic.m
echo "Creating matlab_ci.m"
cat > ${ISSM_DIR}/matlab_ci.m << EOF
% Go to the test directory
cd $ISSM_DIR/test/NightlyRun/
Expand Down

0 comments on commit 48737e1

Please sign in to comment.