cleaned, exeption not needed (SOLVER and PROCESSING are always defined)

This commit is contained in:
Martin Diehl 2016-07-14 17:07:08 +02:00
parent 38bf357e7c
commit 46cf0394ec
2 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ else
DAMASK_ROOT=${STAT##* }
fi
# allows to source the same file for tcsh and bash, with and without space around =
# defining set() allows to source the same file for tcsh and bash, with and without space around =
set() {
export $1$2$3
}
@ -58,8 +58,8 @@ if [ ! -z "$PS1" ]; then
echo
echo Using environment with ...
echo "DAMASK $DAMASK_ROOT"
[[ "x$SOLVER" != "x" ]] && echo "Spectral Solver $SOLVER"
[[ "x$PROCESSING" != "x" ]] && echo "Post Processing $PROCESSING"
echo "Spectral Solver $SOLVER"
echo "Post Processing $PROCESSING"
echo "Multithreading DAMASK_NUM_THREADS=$DAMASK_NUM_THREADS"
if [ "x$PETSC_DIR" != "x" ]; then
echo "PETSc location $PETSC_DIR"

View File

@ -8,7 +8,7 @@ else
print 'Not done yet'
fi
# allows to source the same file for tcsh and zsh, with and without space around =
# defining set() allows to source the same file for tcsh and zsh, with and without space around =
set() {
export $1$2$3
}
@ -57,8 +57,8 @@ if [ ! -z "$PS1" ]; then
echo
echo Using environment with ...
echo "DAMASK $DAMASK_ROOT"
[[ "x$SOLVER" != "x" ]] && echo "Spectral Solver $SOLVER"
[[ "x$PROCESSING" != "x" ]] && echo "Post Processing $PROCESSING"
echo "Spectral Solver $SOLVER"
echo "Post Processing $PROCESSING"
echo "Multithreading DAMASK_NUM_THREADS=$DAMASK_NUM_THREADS"
if [ "x$PETSC_DIR" != "x" ]; then
echo "PETSc location $PETSC_DIR"