|
为方便您看还是给出如下具体内容
#
# These commands set up for use of Gaussian 16. They should be source'd
# into each Gaussian 16 user's .login file, after setting the following
# environment variable:
#
# g16root -- Directory which contains the g16 main directory. Defaults
# to users's home directory if not defined before entry.
#
# Top directories for the program:
#
gr=$HOME
if [ "$g16root" ]
then gr=$g16root
fi
export GAUSS_EXEDIR="$gr/g16/bsd:$gr/g16"
export GAUSS_LEXEDIR="$gr/g16/linda-exe"
export GAUSS_ARCHDIR="$gr/g16/arch"
export GAUSS_BSDDIR="$gr/g16/bsd"
export GV_DIR="$gr/gv"
if [ -e "$GV_DIR/gview.app" ]; then
alias gv='open $GV_DIR/gview.app'
elif [ -e "$GV_DIR/gview.csh" ]; then
alias gv="$GV_DIR/gview.csh"
else
alias gv="$GV_DIR/gview.sh"
fi
if [ "$PATH" ]; then
export PATH="$PATH:$gr/gauopen:$GAUSS_EXEDIR"
else
export PATH="$gr/gauopen:$GAUSS_EXEDIR"
fi
if [ "$PERLLIB" ]; then
export PERLLIB="$PERLLIB:$gr/gauopen:$GAUSS_EXEDIR"
else
export PERLLIB="$gr/gauopen:$GAUSS_EXEDIR"
fi
if [ "$PYTHONPATH" ]; then
export PYTHONPATH="$PYTHONPATH:$gr/gauopen:$GAUSS_EXEDIR"
else
export PYTHONPATH="$gr/gauopen:$GAUSS_EXEDIR"
fi
export _DSM_BARRIER="SHM"
if [ "$LD_LIBRARY64_PATH" ]; then
export LD_LIBRARY64_PATH="$GAUSS_EXEDIR:$GV_DIR/lib:$LD_LIBRARY64_PATH"
else
if [ "$LD_LIBRARY_PATH" ]; then
# gv lib has to be at end for IA64 otherwise IA32 .so files there confuse things
export LD_LIBRARY_PATH="$GAUSS_EXEDIR:$LD_LIBRARY_PATH:$GV_DIR/lib"
else
export LD_LIBRARY_PATH="$GAUSS_EXEDIR:$GV_DIR/lib"
fi
fi
export G16BASIS="$gr/g16/basis"
alias sl="$gr/g16/tests/searchlog.csh"
mach="$(gau-machine)"
if [ "$mach" = "necsx" ] || [ "$mach" = "necsxace" ]; then
export F_ERROPT1="0,999,1,1,1,1,2,2"
export F_ERROPT2="270,271,2,1,2,2,2,2"
export F_ERROPT3="250,253,2,1,2,2,2,2"
export OMP_NUM_THREADS="1"
export F_SYSLEN="1024"
fi
if [ "$mach" = "ia64" ]; then
# The following is to avoid weirdness with Intel's MKL library on IA64:
export KMP_STACKSIZE="20971520"
export KMP_AFFINITY="disabled"
place="`which dplace`"
if [ "$?" == 0 ] ; then
export GAUSS_DPLACE="1"
fi
fi
if [ "$mach" = "ibm_rs6k_aix" ]; then
export XLFRTEOPTS=buffering=disable_preconn
fi
if [ "$mach" = "ibm_rs6k_linux" ]; then
export XLFRTEOPTS=buffering=disable_preconn
# fix LD_LIBRARY_PATH so that the Linda workers can start
# export LD_LIBRARY_PATH="/opt/ibmcmp/lib64:$LD_LIBRARY_PATH"
fi
#if [ "$mach" = "amd64" ]; then
# export OMP_THREAD_LIMIT='256'
# fi
export PGI_TERM='trace,abort'
ulimit -c 0
ulimit -d hard
ulimit -f hard
ulimit -l hard
ulimit -m hard
ulimit -n hard
ulimit -s hard
ulimit -t hard
ulimit -u hard |
|