Building the PORT (Parallel Offline Radiative Transfer) configuration of CESM on Triolith
PORT is a Parallel Offline Radiative Transfer software tool. It is distributed as part of CESM and allows users to diagnose radiative forcing as described in a GMD paper, PORT, a CESM tool for diagnosing radiative forcing.
PORT is available as part of cesm1_2. More information can be found on the PORT wiki page.
- PORT on triolith
PORT can be configured on Triolith by first downloading and configuring CESM1.2.2, see: Building CESM models on the NSC triolith system.
Once you have downloaded the code and copied the Triolith specific configuration scripts to your local CESM1.2.2 installaion (steps 1-3 in Building CESM models on the NSC triolith system) you also need to copy the compset definition file containing PORT configurations ('PC4' for CAM4 physics and 'PC5' for CAM5 physics):
cd <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Case.template
cp /software/apps/CESM/cesm1.2.2/PORT/config_compsets.xml .
This 'config_compsets.xml' file contains the two additional PC4 and PC5 PORT compsets.
- Create a case
A PORT case can now be created in the usual way, e.g.
cd <cesm-base>/cesm1.2.2/scripts/
./create_newcase -case ../cases/PC4 -res f10_f10 -compset PC4 -mach triolith -ccsm_out /proj/bolinc/users/${USER}/cesm1.2.2-port
Followed by the usual steps to configure and submit:
cd <cesm-base>/cesm1.2.2/cases/PC4
./cesm_setup
./PC4.build
sbatch -A snic2014-10-5 PC4.run