Difference between revisions of "UPP"

 
Line 32: Line 32:
 
cd ..
 
cd ..
  
# Install UPP
+
## Install UPP
 
cd UPPV4.1
 
cd UPPV4.1
  
Line 43: Line 43:
  
 
./compile
 
./compile
 +
 +
# 'unipost.exe' will now be in the 'exec' directory
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
For more information on usage see https://dtcenter.org/sites/default/files/community-code/upp-users-guide-v4.1.pdf
 
For more information on usage see https://dtcenter.org/sites/default/files/community-code/upp-users-guide-v4.1.pdf

Latest revision as of 20:18, 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

# 'unipost.exe' will now be in the 'exec' directory

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