Extract the prep step of the global-workflow related to generation of prepbufr files. This repository in essense set's up the execution of JGLOBAL_PREP on Hera and WCOSS_DELL_P3 (Venus and Mars).
-
Clone this repository and cd into it.
$> git clone https://github.com/aerorahul/mkprepbufr $> cd mkprepbufr -
Edit the top section in
config/config.baseto configure your run between theBEGINandENDcomments:- change the experiment parameters; e.g.
PSLOTetc. - provide path to obsproc builds in
HOMEobsproc_prepandHOMEobsproc_global. Pre-built paths on Hera and WCOSS_DELL_P3 are provided here for reference.
- change the experiment parameters; e.g.
-
setupRun.shwill setup theROTDIRand copy a set of backgrounds from the previous cycle:- Set of example backgrounds (C96 resolution) initialized at 2019050100 (GDATE) can be used.
$> setupRun.sh $> ls -1 $ROTDIR/gdas.20190501/00 gdas.t00z.atmf000.nemsio gdas.t00z.atmf003.nemsio gdas.t00z.atmf006.nemsio gdas.t00z.atmf009.nemsio - A soft-link to the
$ROTDIRand$RUNDIRwill be placed in the experiment directory for easy access.
- Set of example backgrounds (C96 resolution) initialized at 2019050100 (GDATE) can be used.
-
Grab an interactive compute node or submit the job to the queue. The script
submitRun.shset's up the runtime environment before the call toJGLOBAL_PREP:On Hera, to get an interactive node, use
salloc. For submission usesbatchInteractive on Hera: heraFE$> salloc --partition=hera --qos=debug --account=fv3-cpu --nodes=1 --ntasks-per-node=4 --time=00:15:00 --chdir=$PWD --job-name=InteractiveJob $computeNode> submitRun.sh >& runLog.txt 2>&1Batch mode on Hera: heraFE$> sbatch --partition=hera --qos=debug --account=fv3-cpu --nodes=1 --ntasks-per-node=4 --time=00:15:00 --chdir=$PWD --job-name=JGLOBAL_PREP -e $PWD/runLog.txt -o $PWD/runLog.txt submitRun.shOn WCOSS Dell Phase 3 (Venus or Mars)
Interactive mode on WCOSS_DELL_P3 wcossP3FE$> bsub -Is -J InteractiveJob -P GFS-DEV -q debug -W 00:30 -n 4 -R 'span[ptile=4] affinity[core(1)]' -cwd $PWD bash $computeNode> submitRun.sh >& runLog.txt 2>&1Batch mode on WCOSS_DELL_P3 wcossP3FE$> bsub -J JGLOBAL_PREP -P GFS-DEV -q debug -W 00:30 -n 4 -R 'span[ptile=4] affinity[core(1)]' -cwd $PWD -e $PWD/runLog.txt -o $PWD/runLog.txt < submitRun.sh -
You are now ready to run this over and over and over.