syntax error

This commit is contained in:
Martin Diehl 2017-09-06 12:33:11 +00:00
parent 0003c838fc
commit 1a75898019
1 changed files with 4 additions and 4 deletions

8
env/DAMASK.zsh vendored
View File

@ -23,15 +23,15 @@ source $DAMASK_ROOT/CONFIG
unset -f set
# add DAMASK_BIN if present
[ "x$DAMASK_BIN" != "x" ] && PATH=$DAMASK_BIN:$PATH
[ "x$DAMASK_BIN != x" ] && PATH=$DAMASK_BIN:$PATH
SOLVER=$(type -p DAMASK_spectral || true 2>/dev/null)
[ "x$SOLVER" == "x" ] && SOLVER='Not found!'
[ "x$SOLVER == x" ] && SOLVER='Not found!'
PROCESSING=$(type -p postResults || true 2>/dev/null)
[ "x$PROCESSING" == "x" ] && PROCESSING='Not found!'
[ "x$PROCESSING == x" ] && PROCESSING='Not found!'
[ "x$DAMASK_NUM_THREADS" == "x" ] && DAMASK_NUM_THREADS=1
[ "x$DAMASK_NUM_THREADS == x" ] && DAMASK_NUM_THREADS=1
# currently, there is no information that unlimited causes problems
# still, http://software.intel.com/en-us/forums/topic/501500 suggest to fix it