DAMASK has no special requirement on core size, just keep the system configuration
This commit is contained in:
parent
c3650a1b00
commit
25ee7781c5
|
@ -31,9 +31,6 @@ if ( `which free` != "free: Command not found." ) then
|
|||
limit stacksize $stack # maximum stack size (kB)
|
||||
limit datasize $heap # maximum heap size (kB)
|
||||
endif
|
||||
if ( `limit | grep coredumpsize` != "" ) then
|
||||
limit coredumpsize 0 # prevent core dumping
|
||||
endif
|
||||
if ( `limit | grep memoryuse` != "" ) then
|
||||
limit memoryuse unlimited # maximum physical memory size
|
||||
endif
|
||||
|
|
|
@ -43,7 +43,6 @@ if [ "x$FREE" != "x" ]; then
|
|||
ulimit -s $(expr $freeMem / $DAMASK_NUM_THREADS / 2) 2>/dev/null # maximum stack size (kB)
|
||||
ulimit -d $(expr $freeMem / 2) 2>/dev/null # maximum heap size (kB)
|
||||
fi
|
||||
ulimit -c 0 2>/dev/null # core file size (512-byte blocks)
|
||||
ulimit -v unlimited 2>/dev/null # maximum virtual memory size
|
||||
ulimit -m unlimited 2>/dev/null # maximum physical memory size
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ if [ "`which free 2>/dev/null`" != "free not found" ]; then
|
|||
ulimit -s `expr $freeMem / $DAMASK_NUM_THREADS / 2` 2>/dev/null # maximum stack size (kB)
|
||||
ulimit -d `expr $freeMem / 2` 2>/dev/null # maximum heap size (kB)
|
||||
fi
|
||||
ulimit -c 0 2>/dev/null # core file size (512-byte blocks)
|
||||
ulimit -v unlimited 2>/dev/null # maximum virtual memory size
|
||||
ulimit -m unlimited 2>/dev/null # maximum physical memory size
|
||||
|
||||
|
|
Loading…
Reference in New Issue