GENESIS 1.7.0

Webpage

https://www.r-ccs.riken.jp/labs/cbrt/

Version

1.7.0

Build Environment

  • Intel Parallel Studio XE 2018 Update 4

Files Required

  • genesis-1.7.0.tar.bz2
  • tests-1.7.0.tar.bz2

Build Procedure

#!/bin/sh

VERSION=1.7.0
BASEDIR=/home/users/${USER}/Software/GENESIS/${VERSION}
SRC_TARBALL=${BASEDIR}/genesis-${VERSION}.tar.bz2
TESTS_TARBALL=${BASEDIR}/tests-${VERSION}.tar.bz2

INSTALLDIR=/local/apl/lx/genesis170

WORKDIR=/work/users/${USER}
BUILDDIR=${WORKDIR}/genesis-${VERSION}
TESTSDIR=${WORKDIR}/tests-${VERSION}

PARALLEL_TESTS=8

# ----------------------------------------------------------------------------
umask 0022

module purge
module load intel_parallelstudio/2018update4

export LANG=C
export LC_ALL=C
export OMP_NUM_THREADS=1

cd ${WORKDIR}
if [ -d genesis-${VERSION} ]; then
  mv genesis-${VERSION} genesis-erase
  rm -rf genesis-erase &
fi

if [ -d tests-${VERSION} ]; then
  mv tests-${VERSION} tests-erase
  rm -rf tests-erase &
fi

tar jxf ${SRC_TARBALL}
tar jxf ${TESTS_TARBALL}

cd ${BUILDDIR}
FC=mpiifort CC=mpiicc ./configure --prefix=${INSTALLDIR}

#make -j ${PARALLEL} && make install
make && make install

ATDYN=${INSTALLDIR}/bin/atdyn
SPDYN=${INSTALLDIR}/bin/spdyn

cd ${TESTSDIR}/regression_test

# atdyn tests
./test.py       "mpirun -np ${PARALLEL_TESTS} $ATDYN"
./test_remd.py  "mpirun -np ${PARALLEL_TESTS} $ATDYN"
./test_rpath.py "mpirun -np ${PARALLEL_TESTS} $ATDYN"
./test_gamd.py  "mpirun -np ${PARALLEL_TESTS} $ATDYN"
./test_vib.py   "mpirun -np ${PARALLEL_TESTS} $ATDYN"

# spdyn tests
./test.py       "mpirun -np ${PARALLEL_TESTS} $SPDYN"
./test_remd.py  "mpirun -np ${PARALLEL_TESTS} $SPDYN"
./test_rpath.py "mpirun -np ${PARALLEL_TESTS} $SPDYN"
./test_gamd.py  "mpirun -np ${PARALLEL_TESTS} $SPDYN"
./test_fep.py   "mpirun -np ${PARALLEL_TESTS} $SPDYN"

cd test_analysis
./test_analysis.py ${INSTALLDIR}/bin
cd ../

cd test_spana
./test_spana.py ${INSTALLDIR}/bin
cd ..

Notes

  • All the tests were passed successfully.
  • intel2020u2 version stops during the test (probably due to MPI)
  • parallel make doesn't work (dependency analyzer script cannot consider macros; vast fix necessary)