Revision as of 19:16, 17 November 2020 by S.wales (talk | contribs)

Unified Post Processor https://dtcenter.org/community-code/unified-post-processor-upp

Install instructions

# Set to desired install directory
export NCEPLIBS_DIR=/scratch/$PROJECT/$USER/NCEPlibs

## Load modules
module load intel-compiler
module load openmpi
module load jasper
module load netcdf

## Download source
git clone -b dtc_post_v4.1.0 --recurse-submodules https://github.com/NOAA-EMC/EMC_post UPPV4.1
git clone https://github.com/NCAR/NCEPlibs

## Install NCEPlibs
cd NCEPlibs

export PNG_INC=/usr/include
export JASPER_INC=$JASPER_ROOT/include
export NETCDF_INC=$NETCDF_ROOT/include

# Fix macros.make.linux.intel
sed -i -e 's/mpiifort/mpifort/' macrots.make.linux.intel

./make_ncep_libs.sh -s linux -c intel -d $NCEPLIBS_DIR -o 0 -a upp

cd ..

# Install UPP
cd UPPV4.1


# Choose option 'Linux x86_64, Intel compiler      (dmpar)'

# Fix some settings
sed -i -e 's/NETCDFLIBS\s*=.*/NETCDFLIBS = -lnetcdff -lnetcdf -ljasper -lpng/' configure.upp


For more information on usage see https://dtcenter.org/sites/default/files/community-code/upp-users-guide-v4.1.pdf