10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-11-07 06:33:38 +01:00

Generation of qmcchemrc

This commit is contained in:
Anthony Scemama 2020-04-14 18:28:22 +02:00
parent 61d746713e
commit bf18e143a4

View File

@ -29,3 +29,19 @@ echo "make"
echo ""
echo "====================================================================="
if [[ -f qmcchemrc ]] ; then
cp qmcchemrc qmcchemrc.bak
fi
cat << EOF > qmcchemrc
# QMC=Chem environment variables
export QMCCHEM_PATH=${QMCCHEM_PATH}
export PATH="\${QMCCHEM_PATH}/bin:\${PATH}"
export LD_LIBRARY_PATH="\${QMCCHEM_PATH}/lib:\${LD_LIBRARY_PATH}"
export LIBRARY_PATH="\${QMCCHEM_PATH}/lib:\${LIBRARY_PATH}"
export QMCCHEM_MPIRUN="mpirun"
export QMCCHEM_MPIRUN_FLAGS="--bind-to-core"
#export QMCCHEM_NIC=ib0
source \${QMCCHEM_PATH}/irpf90/bin/irpman
#source \${QMCCHEM_PATH}/EZFIO/Bash/ezfio.sh
EOF