redirected possible error msg from which-cmd to /dev/null. stack/heap size now in GiB.
This commit is contained in:
parent
938352d43a
commit
57e3cf00c2
|
@ -16,11 +16,11 @@ if [[ "x$DAMASK_BIN" != "x" && ! `echo ":$PATH:" | grep $DAMASK_BIN:` ]]; then
|
||||||
export PATH=$DAMASK_BIN:$PATH
|
export PATH=$DAMASK_BIN:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SOLVER=`which DAMASK_spectral`
|
SOLVER=`which DAMASK_spectral >/dev/null 2>&1`
|
||||||
if [ "x$SOLVER" == "x" ]; then
|
if [ "x$SOLVER" == "x" ]; then
|
||||||
export SOLVER='Not found!'
|
export SOLVER='Not found!'
|
||||||
fi
|
fi
|
||||||
PROCESSING=`which postResults`
|
PROCESSING=`which postResults >/dev/null 2>&1`
|
||||||
if [ "x$PROCESSING" == "x" ]; then
|
if [ "x$PROCESSING" == "x" ]; then
|
||||||
export PROCESSING='Not found!'
|
export PROCESSING='Not found!'
|
||||||
fi
|
fi
|
||||||
|
@ -60,9 +60,9 @@ if [ ! -z "$PS1" ]; then
|
||||||
echo "FFTW $FFTW_ROOT"
|
echo "FFTW $FFTW_ROOT"
|
||||||
echo "HDF5 $HDF5_ROOT (for future use)"
|
echo "HDF5 $HDF5_ROOT (for future use)"
|
||||||
echo
|
echo
|
||||||
echo "heap size/kB `ulimit -d`"
|
echo -n "heap size/GiB "; echo "`ulimit -d`/1024/1024" | bc
|
||||||
echo "stack size/kB `ulimit -s`"
|
echo -n "stack size/GiB "; echo "`ulimit -s`/1024/1024" | bc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export DAMASK_NUM_THREADS
|
export DAMASK_NUM_THREADS
|
||||||
export PYTHONPATH=$DAMASK_ROOT/lib:$PYTHONPATH
|
export PYTHONPATH=$DAMASK_ROOT/lib:$PYTHONPATH
|
||||||
|
|
Loading…
Reference in New Issue