Skip to content

Commit 416346f

Browse files
author
Natalie Perlin
committed
correct ulimit command for MacOS
1 parent 816a4cb commit 416346f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/run_test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,11 @@ fi
428428
################################################################################
429429
export OMP_ENV=${OMP_ENV:-""}
430430
if [[ ${SCHEDULER} = 'none' ]]; then
431-
ulimit -s unlimited
431+
if [[ ${MACHINE_ID} == macosx ]]; then
432+
ulimit -s -S unlimited
433+
else
434+
ulimit -s unlimited
435+
fi
432436
if [[ ${CI_TEST} = 'true' ]]; then
433437
eval "${OMP_ENV}" redirect_out_err mpiexec -n "${TASKS}" ./fv3.exe
434438
else

0 commit comments

Comments
 (0)