GENESIS-1.1.1 for GPU

Webpage

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

Version

1.1.1

Tools for Compiling

  • Intel Compiler 16.0.2.181
  • SGI MPT 2.13
  • Intel MKL 2016.2.181
  • CUDA 7.5

Necessary Files for Compiling

  • genesis-1.1.1.tar.bz2

Procedure of Compiling

#!/bin/csh -f
set file_genesis=/home/users/${USER}/build/genesis111/genesis-1.1.1.tar.bz2
set dir_prefix=/local/apl/pg/genesis111-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 genesis111) then
  rm -rf genesis111
endif
bunzip2 -c ${file_genesis} | tar xf -
mv genesis-1.1.1 genesis111
cd ${work}/genesis111/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