Difference between revisions of "UPP"

Line 5: Line 5:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
export INSTALL=/scratch/$PROJECT/$USER/upp-install
 
export INSTALL=/scratch/$PROJECT/$USER/upp-install
 +
export NCEPLIBS_DIR=$INSTALL/NCEPlibs
  
 
## Load modules
 
## Load modules
Line 24: Line 25:
 
export NETCDF_LIB=$NETCDF_ROOT/lib
 
export NETCDF_LIB=$NETCDF_ROOT/lib
  
./make_ncep_libs.sh -s linux -c intel -d $INSTALL/NCEPlibs -o 0 -a upp
+
# 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)'
 +
 
 +
./compile
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
For more information on usage see https://dtcenter.org/sites/default/files/community-code/upp-users-guide-v4.1.pdf

Revision as of 19:21, 17 November 2020

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

Install instructions

export INSTALL=/scratch/$PROJECT/$USER/upp-install
export NCEPLIBS_DIR=$INSTALL/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)'

./compile

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