Skip to content

Commit

Permalink
correct ulimit command for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalie Perlin committed Jan 13, 2025
1 parent 816a4cb commit 416346f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,11 @@ fi
################################################################################
export OMP_ENV=${OMP_ENV:-""}
if [[ ${SCHEDULER} = 'none' ]]; then
ulimit -s unlimited
if [[ ${MACHINE_ID} == macosx ]]; then
ulimit -s -S unlimited
else
ulimit -s unlimited
fi
if [[ ${CI_TEST} = 'true' ]]; then
eval "${OMP_ENV}" redirect_out_err mpiexec -n "${TASKS}" ./fv3.exe
else
Expand Down

0 comments on commit 416346f

Please sign in to comment.