-
Notifications
You must be signed in to change notification settings - Fork 1
Home
These are my personal notes/helpful hints.
For the official page please go to: https://github.com/NOAA-EMC/global-workflow/wiki
Hera:
module use -a /contrib/anaconda/modulefiles
module load anaconda/anaconda3-5.3.1
module load rocoto/1.3.3
Orion:
module load python/3.7.5
module load contrib
module load rocoto/1.3.3
WCOSS-DELL:
module load python/3.6.3
module use /usrx/local/dev/emc_rocoto/modulefiles
module load rocoto/1.3.0rc2
APP=ATM
PSLOT=atm01
BASEDIR=/path/to/area/to/keep/things/
CONFIGDIR=$BASEDIR/global-workflow/parm/config
IDATE=2013040100
EDATE=2013040100
RES=384
GFS_CYC=1
COMROT=$BASEDIR/$PSLOT/COMROOT
EXPDIR=$BASEDIR/$PSLOT/EXPDIR
ICSDIR=$BASEDIR/$PSLOT/ICDIR/${PSLOT}
Run the setup experiment script:
./setup_expt.py forecast-only --app $APP --pslot $PSLOT --configdir $CONFIGDIR --idate $IDATE --edate $EDATE --res $RES --gfs_cyc $GFS_CYC --comrot $COMROT --expdir $EXPDIR --icsdir $ICSDIR
In $EXPDIR/$PSLOT/config.base change the following:
You must change:
DOIAU=NO
Some things you might want to change:
ACCOUNT
HPSS_PROJECT
KEEPDATA
RUNDIR -- especially if stmp is filling up on hera
ATARDIR -- if you want longer hpss storage etc
Now run the set up script:
./setup_workflow_fcstonly.py --expdir $EXPDIR/$PSLOT
Your crontab is then: $EXPDIR/$PSLOT/$PSLOT.crontab
Run the cronjob and then cancel the job that starts. Then set the first two IC jobs to complete:
rocotocomplete -d $EXPDIR/$PSLOT/$PSLOT.db -w $EXPDIR/$PSLOT/$PSLOT.xml -c $YYYYMMDDHHMM -t gfsgetic
rocotocomplete -d $EXPDIR/$PSLOT/$PSLOT.db -w $EXPDIR/$PSLOT/$PSLOT.xml -c $YYYYMMDDHHMM -t gfsinit
Now, set up your ICs from the coupled model.
On Hera:
ICBASEDIR=/scratch2/NCEPDEV/climate/climpara/S2S/IC
p8b:
ATMIC=GEFS-NoahMP-aerosols-p8a
Make directory and copy ICs:
mkdir -p $COMROOT/$PSLOT/gfs.${YYYYMMDD}/${ZZ}/atmos/INPUT
cp $ICBASEDIR/$ATMIC/$CDATE/gfs/C384/INPUT/* $COMROOT/$PSLOT/gfs.${YYYYMMDD}/${ZZ}/atmos/INPUT/
Now you can run your crontab or use rocoto run to step through the rest of the runs.
APP=S2SW
PSLOT=try01
BASEDIR=/path/to/area/to/keep/things/
CONFIGDIR=$BASEDIR/global-workflow/parm/config
IDATE=2013040100
EDATE=2013040100
RES=384
GFS_CYC=1
COMROT=$BASEDIR/$PSLOT/COMROOT
EXPDIR=$BASEDIR/$PSLOT/EXPDIR
ICSDIR=$BASEDIR/$PSLOT/ICDIR/${PSLOT}
Run the setup experiment script, for coupling without aerosols:
./setup_expt.py forecast-only --app $APP --pslot $PSLOT --configdir $CONFIGDIR --idate $IDATE --edate $EDATE --res $RES --gfs_cyc $GFS_CYC --comrot $COMROT --expdir $EXPDIR --icsdir $ICSDIR
for coupling with aerosols:
./setup_expt.py forecast-only --app $APP --aerosols --pslot $PSLOT --configdir $CONFIGDIR --idate $IDATE --edate $EDATE --res $RES --gfs_cyc $GFS_CYC --comrot $COMROT --expdir $EXPDIR --icsdir $ICSDIR
In $EXPDIR/$PSLOT/config.base change the following:
You must change:
DOIAU=NO
Some things you might want to change:
ACCOUNT
HPSS_PROJECT
KEEPDATA
RUNDIR -- especially if stmp is filling up on hera
ATARDIR -- if you want longer hpss storage etc
The number of ocean post jobs is controlled in $EXPDIR/$PSLOT/config.ocnpost by NPOSTGRP which should be changed for longer runs.