Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

machine instructions cori intel

Xylar Asay-Davis edited this page Jul 25, 2017 · 2 revisions

Purge environment:

module rm PrgEnv-cray
module rm PrgEnv-gnu
module rm PrgEnv-intel

module load PrgEnv-intel/6.0.3
module rm intel
module load intel/16.0.3.210

module rm craype
module load craype/2.5.5

module rm pmi
module load pmi/5.0.10-1.0000.11050.0.0.ari

module rm cray-netcdf
module rm cray-netcdf-hdf5parallel
module rm cray-parallel-netcdf
module rm cray-hdf5-parallel
module rm cray-hdf5

module rm cray-mpich2
module rm cray-mpich
module load cray-mpich/7.4.0

module rm papi
module load papi/5.4.3.2

module rm cmake
module load cmake/3.3.2

module rm cray-petsc
module load cray-petsc/3.7.0.0

module rm esmf

Load MPI and PAPI modules

module load cray-mpich/7.3.0
module load papi/5.4.1.3

Load netcdf and pnetcdf modules

module load cray-hdf5-parallel/1.8.16
module load cray-netcdf-hdf5parallel/4.4.0
module load cray-parallel-netcdf/1.7.0

Export NETCDF / PNetCDF variables

export NETCDF=${NETCDF_DIR}
export PNETCDF=${PARALLEL_NETCDF_DIR}

Build PIO (v1.7.2):

./configure CC=ftn CC=cc MPIF90=ftn MPIF77=ftn FC=ftn F77=ftn F90=ftn MPIFC=ftn MPICC=cc MPICXX=cc CXX=cc NETCDF_PATH=${NETCDF} PNETCDF_PATH=${PNETCDF}

Export PIO variables:

export PIO=/global/homes/a/asarje/edison/pio1_6_3/pio

Load TAU moduels / variables

#export TAU=/global/project/projectdirs/acts/TAU/tau-2.25.1
#export PATH=${TAU}/craycnl/bin:$PATH
#export TAU_MAKEFILE=${TAU}/craycnl/lib/Makefile.tau-intel-papi-mpi-pdt
#export TAU_OPTIONS='-optRevert -optNoCompInst'

Alternate TAU instructions:

#export TAU_MAKEFILE=/usr/common/usg/TAU/2.24/INTEL/craycnl/lib/Makefile.tau-intel-papi-mpi-pdt #export TAU_OPTIONS='-optRevert -optNoCompInst'

Build MPAS

make intel-nersc CORE=ocean TAU=true TIMER_LIB=tau

Clone this wiki locally