From 05bd760bc7a9d0a9c79d0d1de2439167a58c2ca1 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Fri, 5 May 2017 11:49:15 -0400 Subject: [PATCH] removed debug message that broke stack unlimiting --- DAMASK_env.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DAMASK_env.sh b/DAMASK_env.sh index 0ae3a2abf..264ae9c94 100644 --- a/DAMASK_env.sh +++ b/DAMASK_env.sh @@ -46,8 +46,7 @@ if [ "x$FREE" != "x" ]; then ulimit -d unlimited 2>/dev/null \ || ulimit -d $(expr $freeMem / 2) 2>/dev/null # maximum heap size (kB) ulimit -s unlimited 2>/dev/null \ - || echo "cannot unlimit stack..." \ - && ulimit -s $(expr $freeMem / $DAMASK_NUM_THREADS / 2) 2>/dev/null # maximum stack size (kB) + || ulimit -s $(expr $freeMem / $DAMASK_NUM_THREADS / 2) 2>/dev/null # maximum stack size (kB) fi ulimit -v unlimited 2>/dev/null # maximum virtual memory size ulimit -m unlimited 2>/dev/null # maximum physical memory size