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.base
to configure your run between theBEGIN
andEND
comments:- change the experiment parameters; e.g.
PSLOT
etc. - provide path to obsproc builds in
HOMEobsproc_prep
andHOMEobsproc_global
. Pre-built paths on Hera and WCOSS_DELL_P3 are provided here for reference.
- change the experiment parameters; e.g.
-
setupRun.sh
will setup theROTDIR
and 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
$ROTDIR
and$RUNDIR
will 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.sh
set's up the runtime environment before the call toJGLOBAL_PREP
:On Hera, to get an interactive node, use
salloc
. For submission usesbatch
Interactive 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>&1
Batch 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.sh
On 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>&1
Batch 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.