From f535ded245fbaaa6934495c76fe5cd229ab168da Mon Sep 17 00:00:00 2001 From: edoapra Date: Mon, 28 Oct 2019 17:51:41 -0700 Subject: [PATCH] 30% memory for os --- contrib/getmem.nwchem | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/contrib/getmem.nwchem b/contrib/getmem.nwchem index 262b662606..c817b3fa25 100755 --- a/contrib/getmem.nwchem +++ b/contrib/getmem.nwchem @@ -29,9 +29,6 @@ if [[ -z "${NWCHEM_TOP}" ]]; then MYPW=`pwd` NWCHEM_TOP=`echo ${DIRUTIL} | sed -e 's/\/contrib.*//' ` fi -if [[ -z "$memos" ]]; then - memos=30 -fi # cd $NWCHEM_TOP/src/input a=("" "" "" "" "" "") @@ -71,7 +68,7 @@ if [[ $good != 0 ]]; then echo "No. of processors :" $nproc echo "Total Memory/proc :" $memproc "KB = " $memprocgb "GB" # take away 20% memory for OS - memproc=$(( memproc*80/100 )) + memproc=$(( memproc*70/100 )) echo cfr $memproc $mem_min if [ "$memproc" -lt "$mem_min" ] ; then echo 'WARNING: Memory/proc < ' $mem_min