Difference between revisions of "UPP"
Line 4: | Line 4: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | export | + | # Set to desired install directory |
− | + | export NCEPLIBS_DIR=/scratch/$PROJECT/$USER/NCEPlibs | |
## Load modules | ## Load modules |
Revision as of 20:16, 17 November 2020
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
export NETCDF_LIB=$NETCDF_ROOT/lib
# 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
./configure
# Choose option 'Linux x86_64, Intel compiler (dmpar)'
# Fix some settings
sed -i -e 's/NETCDFLIBS\s*=.*/NETCDFLIBS = -lnetcdff -lnetcdf -ljasper -lpng/' configure.upp
./compile
For more information on usage see https://dtcenter.org/sites/default/files/community-code/upp-users-guide-v4.1.pdf