Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Preliminaries for mkmapdata
The mkmapdata script calls ESMF to generate mapping files. Some of the input data sets are very large and require a large memory footprint, so we need an ESMF built with MPI (note that the ESMF in the e3sm-unified conda environment will not work for this). One way to do this is to build our own. On cori or nersc, the following should be sufficient:

Code Block
languagebash
# Source environment settings used when building/running E3SM
MACHINE=cori-knl

# Set paths needed to build ESMF
export ESMF_DIR=${HOME}/software/esmf
export ESMF_COMM=mpi
export ESMF_COMPILER=intel
export ESMF_INSTALL_PREFIX=${HOME}/software/esmf/${MACHINE}_${ESMF_COMPILER}_${ESMF_COMM}
export ESMF_NETCDF="split"

# Build
cd ${ESMF_DIR}
gmake clean
gmake
gmake install

...