Molpro 2019.1.2 for LX
Webpage
Version
2019.1.2
Build Environment
- Intel Parallel Studio 2017 update8
- ifort 17.0.8
- icc 17.0.8
- impi 2017.0.4
- Global Arrays Toolkit 5.7
Files Required
- Molpro2019.1.2.tar.gz
- ga-5.7.tar.gz
work.patch- (Dec. 6, 2019) Sorry, this patch was not applied for this version.
--- utilities/molpro.template.orig 2018-12-10 16:29:50.000000000 +0900
+++ utilities/molpro.template 2018-12-10 16:39:13.000000000 +0900
@@ -446,6 +446,12 @@
shift
done
+MOLPRO_OPTIONS="\
+-d/work/users/$USER/ \
+-I/work/users/$USER/ \
+-W/work/users/$USER/wfu \
+$MOLPRO_OPTIONS"
+
if test "x${option_d}" = x ; then
# Now we have to replicate everything inside molpro.exe to try and get the same value of -d that it would
option_d="/tmp"
- token
Build Procedure
#!/bin/sh
GA_VERSION=5.7
MOLPRO_VERSION=2019.1.2
MOLPRO_DIRNAME=Molpro_release
PARALLEL=12
BASEDIR=/home/users/${USER}/Software/Molpro/2019.1.2
MOLPRO_TARBALL=${BASEDIR}/${MOLPRO_DIRNAME}.tar.gz
PATCH=${BASEDIR}/work.patch
TOKEN=${BASEDIR}/token
WORKDIR=/work/users/${USER}
GA_INSTALLDIR=${WORKDIR}/ga-temporary
INSTALLDIR=/local/apl/lx/molpro${MOLPRO_VERSION}
#------------------------------------------
umask 0022
ulimit -s unlimited
export LANG=
export LC_ALL=C
export OMP_NUM_THREADS=1
cd $WORKDIR
if [ -d ga-${GA_VERSION} ]; then
mv ga-${GA_VERSION} ga_tmp
rm -rf ga_tmp &
fi
if [ -d ga-temporary ]; then
mv ga-temporary ga_tmp_tmp
rm -rf ga_tmp_tmp &
fi
if [ -d ${MOLPRO_DIRNAME} ]; then
mv ${MOLPRO_DIRNAME} molpro_tmp
rm -rf molpro_tmp &
fi
module purge
module load scl/devtoolset-3 # gcc 4.9 or later is necessary
# some fixes required for gcc 6 (qexp etc.)
module load intel_parallelstudio/2017update8
tar zxf /home/users/${USER}/Software/GlobalArrays/${GA_VERSION}/ga-${GA_VERSION}.tar.gz
cd ga-${GA_VERSION}
export F77=mpiifort
export F90=mpiifort
export FC=mpiifort
export CC=mpiicc
export CXX=mpiicpc
export MPIF77=mpiifort
export MPICC=mpiicc
export MPICXX=mpiicpc
export GA_FOPT="-O3 -ip -w -xHost"
export GA_COPT="-O3 -ip -w -xHost"
export GA_CXXOPT="-O3 -ip -w -xHost"
./configure --with-blas8 \
--enable-i8 \
--prefix=${GA_INSTALLDIR}
make -j ${PARALLEL}
make check
make install
cp config.log ${GA_INSTALLDIR}
cd ../
tar zxf ${MOLPRO_TARBALL}
cd ${MOLPRO_DIRNAME}
patch -p0 < ${PATCH}
export PATH="${GA_INSTALLDIR}/bin:$PATH" # where ga-config exists
CPPFLAGS="-I${GA_INSTALLDIR}/include" \
LDFLAGS="-L${GA_INSTALLDIR}/lib" \
./configure --prefix=${INSTALLDIR} \
--enable-integer8 \
--enable-slater
LD_LIBRARY_PATH_ESC=`echo $LD_LIBRARY_PATH | sed -e 's/\//\\\\\//g'`
sed -i -e "s/^VERBOSE.*$/VERBOSE=/" \
-e "s/^LD_ENV=.*$/LD_ENV=$LD_LIBRARY_PATH_ESC/" CONFIG
unset LD_LIBRARY_PATH_ESC
sed -i -e "s/angs,/ang,/" testjobs/{ch2_singlet.test,ch2_triplet.test}
sed -i -e "s/angs$/ang/" testjobs/{oh_radical.test,ozone_avdz.test}
sed -i -e "s/ANGS$/ANG/" testjobs/o2_cic.test
make -j ${PARALLEL}
cp $TOKEN lib/.token
make tuning
MOLPRO_OPTIONS=-n2 make quicktest
MOLPRO_OPTIONS=-n2 make test
# failed test: loc_eom3.test
#make install # do it manually
Tests
- Numerical error on loc_eom3 test, the output (energy) value is the same as that from 2018.2.
Note
- Distance unit "ANGS" is no longer available. "ANG" and "ANGSTROM" are still available.
- Some of tests (ch2_singlet, ch2_triplet, oh_radical, ozone_avdz, o2_cic) need the fix to be passed.