Project

General

Profile

Building the development branch of Synergia on the NERSC hopper system

This text also appears in the file configs/README.hopper in the cloned contract-synergia2 tree.

2013-07-19 Notes for building synergia on hopper

In your .bash_profile.ext, setup your modules with the following code:

if [ $NERSC_HOST == "hopper" ]
then
    module switch PrgEnv-pgi PrgEnv-gnu
    module load python/2.7.3
    module load pytables
    module load mpi4py
    module load boost/1.51-gnu
    module load fftw/3.3.0.2
    module load hdf5
    module load gsl/1.15
    module load cmake
    module load git
    #umask 022
    # echo "bash_profile.ext run" 
    export BASH_PROFILE_EXT=1
fi

This activates the modules that your job will need to build and run.

In addition, the darshan module must be unloaded in .bashrc.ext as:

if [ $NERSC_HOST == "hopper" ]
then
#  Replace the following line with personal settings for hopper
    module unload darshan
    #echo "bashrc.ext run" 
    export BASHRC_EXT=1
fi

If you do not unload darshan in this way, synergia will not be able to link
properly. In addition, when building shared library executables, the
module cray-shmem must also be unloaded (this is just for the build)

module unload cray-shmem

The file configs/synergia_config_hopper contains the settings needed to build
Synergia.

git clone -b devel http://cdcvs.fnal.gov/projects/contract-synergia2 synergia2-devel
cd synergia2-devel
./bootstrap
./contract.py --configure-import configs/synergia_config_hopper
./contract.py

Main Synergia wiki

https://cdcvs.fnal.gov/redmine/projects/synergia2/wiki