GENESIS-1.1.5 for GPU

Webpage

http://www.aics.riken.jp/labs/cbrt/

Version

1.1.5

Tools for Compiling

  • Intel Compiler 17.0.2.174
  • Intel MPI 2017.2.174
  • Intel MKL 2017.2.174
  • CUDA 7.5

Necessary Files for Compiling

  • genesis-1.1.5.tar.bz2

Procedure of Compiling

#!/bin/csh -f
umask 022
set file_genesis=/home/users/${USER}/build/genesis115/genesis-1.1.5.tar.bz2
set dir_prefix=/local/apl/pg/genesis115-CUDA
set work=/work/users/${USER}
setenv FC mpiifort
setenv CC mpiicc
#------------------------------------------------------------------------------
if (! -d ${dir_prefix} || ! -w ${dir_prefix}) then
  echo "${dir_prefix} must be a directory and writable."
  exit 1
endif
#------------------------------------------------------------------------------
cd ${work}
if (-d genesis115) then
  rm -rf genesis115
endif
bunzip2 -c ${file_genesis} | tar xf -
mv genesis-1.1.5 genesis115
cd ${work}/genesis115/src
sed -i 's/OPT_OPENMP="-openmp"/OPT_OPENMP="-qopenmp"/' ./configure
sed -i 's/-axCORE-AVX2/-xHost/' ./configure
sed -i 's/-assume byterecl/-assume byterecl -static-intel/' ./configure
./configure --prefix=$dir_prefix --enable-gpu --enable-single
make
make install