Skip to content

deploy a Jet realtime run in Jet

Guoqing Ge edited this page Aug 5, 2024 · 3 revisions

An example on deploying a new version of rrfs for Jet Realtime run

1. Clone and build

replace 1.0.1 with an appropriate version number

cd /lfs5/BMC/nrtrr/RRFS
git clone --recursive git@github.com:rrfs2/rrfs-workflow.git 1.0.1
cd 1.0.1/sorc
./build.all

2. Generate the experiment and the rocoto XML file

crontab -e # comment out the old version of the rrfs realtime run
cd 1.0.1/workflow
cp exp/exp.jet_conus3km exp.setup 
# Modify exp.setup, set variables, such as VERSION, etc as eeded. Use exp.jet_conus12km or exp.jet_hrrrv5
./setup_exp.py
crontab -e # make sure the new version of the rrfs realtime run is active in the crontab

3. Go to the expdir to make sure everything works correctly

cd /home/role.rtrr/RRFS/1.0.1/conus12km
./run_rocoto.sh
rstat

Sometimes, manually rocoto_reboot a cycle may be beneficial. For example, a new version is deployed at 03z. 03z will need lbc from 00z. So one can run the following command to reboot the lbc task at 00z so that 03z cycle can start soon.

rboot 202407190000 lbc