From 416346f515f714765abcd795aac46b0c2d49d253 Mon Sep 17 00:00:00 2001 From: Natalie Perlin Date: Mon, 13 Jan 2025 16:34:47 -0500 Subject: [PATCH] correct ulimit command for MacOS --- tests/run_test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/run_test.sh b/tests/run_test.sh index cd46804607..bce768738c 100755 --- a/tests/run_test.sh +++ b/tests/run_test.sh @@ -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