From 48737e1ebdeda814667c719ea0a15baadf09787f Mon Sep 17 00:00:00 2001 From: mmorligh Date: Thu, 18 Jul 2024 05:05:16 -0400 Subject: [PATCH] CHG: adding flag to mpiexec to avoid openmpi error message about 'There are not enough slots available' --- .github/workflows/c-cpp.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 9e734b557..5778c35a8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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/