Nektar++ on IDRIS (France)

The following is the script used to configure Nektar++ 3.4 on IDRIS (large HPC cluster in France).

This script must be lauched from a directory containing nektar++-3.4.0.tar.gz and ThirdParty-3.4.0.tar.gz.


In order to build ThirdParty-3.4.0.tar.gz, follow these steps from an internet-enabled computer:

wget -nH -r -np
rm thirdparty/index.*
mv thirdparty ThirdParty
tar -cf ThirdParty-3.4.0.tar.gz ThirdParty/
rm -rf ThirdParty/


Then do the following:

tar -xf nektar++-3.4.0.tar.gz
cd nektar++-3.4.0
tar -xf ../ThirdParty-3.4.0.tar.gz

cd builds/

# Note: builds/ directory *must* be empty

module purge
module load cmake
module load blas
export BOOST_HOME=/smplocal/pub/boost/1.49.0/

CC=mpiicc CXX=mpiicpc cmake ../ \
-DZLIB_INCLUDE_DIR=/usr/include \
-DZLIB_LIBRARY=/usr/lib64/ \
-DZLIB_LIBRARY_DEBUG=/usr/lib64/ \
| tee ../../cmake.log

VERBOSE=1 make -j8 install 2>&1 | tee ../../make.log