2013-12-21 17:27:02 +05:30
|
|
|
# sets up an environment for DAMASK on tcsh
|
2013-12-20 18:00:17 +05:30
|
|
|
# usage: source DAMASK_env.csh
|
2013-12-21 17:27:02 +05:30
|
|
|
set MAGIG=($_)
|
|
|
|
set FILENAME=`readlink -f $called[2]`
|
|
|
|
set LOCATION = `dirname $FILENAME`
|
|
|
|
setenv DAMASK_ROOT ${LOCATION}
|
2013-12-19 04:08:44 +05:30
|
|
|
setenv DAMASK_NUM_THREADS 2
|
2013-12-21 17:27:02 +05:30
|
|
|
# disable output in case of scp
|
|
|
|
if($?prompt) then
|
|
|
|
echo
|
|
|
|
echo Düsseldorf Advanced Materials Simulation Kit - DAMASK
|
|
|
|
echo Max-Planck-Institut für Eisenforschung, Düsseldorf
|
|
|
|
echo http://damask.mpie.de
|
|
|
|
echo
|
|
|
|
echo Preparing environment ...
|
|
|
|
echo "DAMASK_ROOT=$DAMASK_ROOT"
|
|
|
|
echo "DAMASK_NUM_THREADS=$DAMASK_NUM_THREADS"
|
|
|
|
endif
|
2013-12-19 04:08:44 +05:30
|
|
|
ulimit -s unlimited
|
|
|
|
ulimit -c 0
|
|
|
|
ulimit -v unlimited
|
|
|
|
ulimit -m unlimited
|
2013-12-30 08:33:32 +05:30
|
|
|
setenv DAMASK_BIN ${DAMASK_ROOT}/bin
|
2013-12-21 17:27:02 +05:30
|
|
|
setenv PATH ${PATH}:${DAMASK_BIN}
|
|
|
|
setenv PYTHONPATH ${PYTHONPATH}:${DAMASK_ROOT}/lib
|
|
|
|
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}
|