-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update /driver; /parm and /ecflow folder to match gfsv16
- Loading branch information
jian.kuang
authored and
jian.kuang
committed
Nov 25, 2020
1 parent
d8b0f4f
commit 45341b6
Showing
1,868 changed files
with
65,447 additions
and
110,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
################################################################## | ||
# This parameter file set up the environment variables used in | ||
# the J-Job scripts to run the gldas land analsis system | ||
################################################################## | ||
# module load for untility in run_all of lsf directory | ||
|
||
export GDATE=${PDY:-20191025} | ||
export cyc=${cyc:-00} | ||
export model=${model:-noah} | ||
export QUEUE=debug | ||
export PROJECT_CODE=NLDAS-T2O | ||
|
||
#export workdir=/gpfs/dell2/emc/modeling/noscrub/$LOGNAME/global-workflow | ||
export workdir=${workdir:-$HOMEgfs} | ||
|
||
export gldas_ver=${gldas_ver:-v2.3.0} | ||
export HOMEgldas=${HOMEgldas:-$workdir/sorc/gldas.fd} | ||
export FIXgldas=${FIXgldas:-$HOMEgldas/fix} | ||
export PARMgldas=${PARMgldas:-$HOMEgldas/parm} | ||
export EXECgldas=${EXECgldas:-$HOMEgldas/exec} | ||
export USHgldas=${USHgldas:-$HOMEgldas/ush} | ||
|
||
#export FIXgldas=/gpfs/dell2/emc/modeling/noscrub/emc.glopara/git/fv3gfs/fix/fix_gldas | ||
#export topodir=/gpfs/dell2/emc/modeling/noscrub/emc.glopara/git/fv3gfs/fix/fix_fv3_gmted2010/C768/ | ||
export FIXgldas=${FIXgldas:-$workdir/fix/fix_gldas} | ||
export topodir=${topodir:-$workdir/fix/fix_fv3_gmted2010/C768} | ||
|
||
|
||
export COM_IN=${COM_IN:-$workdir/com/gldas.${gldas_ver}} | ||
export COM_OUT=${COM_OUT:-$COM_IN} | ||
|
||
# set up com and decom directory used | ||
# GFS OPS | ||
if [ ${model} == 'noah' ]; then | ||
export COMROOT=/gpfs/dell1/nco/ops/com | ||
export DCOMROOT=/gpfs/dell1/nco/ops/dcom | ||
fi | ||
|
||
##GFS Retrospective test | ||
#if [ ${model} == 'noah' ]; then | ||
#export COMROOT=/gpfs/dell2/emc/retros/noscrub/Youlong.Xia/com | ||
#export DCOMROOT=/gpfs/dell2/emc/retros/noscrub/Youlong.Xia/com | ||
#fi | ||
|
||
# gfsv16 systhesis test | ||
if [ ${model} == 'noahmp' ]; then | ||
export COMROOT=/gpfs/dell2/emc/retros/noscrub/Youlong.Xia/com | ||
export DCOMROOT=/gpfs/dell2/emc/retros/noscrub/Youlong.Xia/com | ||
fi | ||
|
||
export COMINgdas=${COMINgdas:-${COMROOT}/gfs/prod} | ||
export DCOMIN=${DCOM_IN:-${DCOMROOT}/prod} | ||
|
||
|
||
#export DATA_IN=/gpfs/dell2/ptmp/$LOGNAME/tmpnwprd | ||
#export jlogfile=$DATA_IN/jlogfile | ||
export DATA=/gpfs/dell2/ptmp/$LOGNAME/tmpnwprd | ||
export jlogfile=$DATA/jlogfile | ||
|
||
export SENDCOM=${SENDCOM:-YES} | ||
export SENDECF=${SENDECF:-NO} | ||
export SENDDBN=${SENDDBN:-NO} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
#!/bin/sh | ||
|
||
#BSUB -o /gpfs/dell2/ptmp/Youlong.Xia/gdas_gldas.o%J | ||
#BSUB -e /gpfs/dell2/ptmp/Youlong.Xia/gdas_gldas.o%J | ||
#BSUB -P NLDAS-T2O | ||
#BSUB -J jgdas_gldas_12 | ||
#BSUB -W 01:00 | ||
#BSUB -q dev | ||
#BSUB -n 112 # number of tasks | ||
#BSUB -R span[ptile=28] # tasks per node | ||
#BSUB -R affinity[core(1):distribute=balance] | ||
#BSUB -M 3072 | ||
#BSUB -extsched 'CRAYLINUX[]' | ||
|
||
set -x | ||
|
||
date | ||
|
||
export NODES=4 | ||
export ntasks=112 | ||
export ptile=28 | ||
export threads=1 | ||
|
||
export launcher="mpirun -n" | ||
export npe_gaussian=6 | ||
export npe_gldas=112 | ||
export APRUN_GAUSSIAN="$launcher $npe_gaussian" | ||
export APRUN_GLDAS="$launcher $npe_gldas" | ||
|
||
export CDATE=${CDATE:-2019110700} | ||
|
||
############################################################# | ||
export KMP_AFFINITY=disabled | ||
|
||
export PDY=`date -u +%Y%m%d` | ||
export PDY=`echo $CDATE | cut -c1-8` | ||
|
||
export PDY1=`expr $PDY - 1` | ||
|
||
export cyc=`echo $CDATE | cut -c9-10` | ||
export cycle=t${cyc}z | ||
|
||
set -xa | ||
export PS4='$SECONDS + ' | ||
date | ||
|
||
#################################### | ||
## Load theUtilities module | ||
##################################### | ||
module purge | ||
module load EnvVars/1.0.2 | ||
module load ips/18.0.1.163 | ||
module load CFP/2.0.1 | ||
module load impi/18.0.1 | ||
module load lsf/10.1 | ||
module load prod_envir/1.0.2 | ||
module load prod_util/1.1.4 | ||
module load grib_util/1.1.0 | ||
module load NetCDF/4.5.0 | ||
########################################### | ||
# Now set up environment | ||
########################################### | ||
module list | ||
|
||
############################################ | ||
# GDAS META PRODUCT GENERATION | ||
############################################ | ||
# set envir=prod or para to test with data in prod or para | ||
# export envir=prod | ||
export envir=para | ||
|
||
export RUN=${RUN:-gdas} | ||
|
||
export SENDCOM=YES | ||
export KEEPDATA=YES | ||
export job=gdas_gldas_${cyc} | ||
export pid=${pid:-$$} | ||
export jobid=${job}.${pid} | ||
|
||
############################################## | ||
# Define COM, COMOUTwmo, COMIN directories | ||
############################################## | ||
export HOMEgw=/gpfs/dell2/emc/modeling/noscrub/$LOGNAME/global-workflow | ||
if [ $envir = "prod" ] ; then | ||
# This setting is for testing with GDAS (production) | ||
export HOMEgldas=/nwprod/gldas.${gldas_ver} | ||
export COMIN=/gpfs/dell1/nco/ops/com/gfs/prod/${RUN}.${PDY} ### NCO PROD | ||
export COMROOT=/gpfs/dell1/nco/ops/com | ||
export DCOMROOT=/gpfs/dell1/nco/ops/dcom | ||
elif [ $envir = "para" ] ; then | ||
# This setting is for testing with GDAS (production) | ||
export HOMEgldas=${HOMEgldas:-$HOMEgfs/sorc/gldas.fd} | ||
export COMIN=/gpfs/dell1/nco/ops/com/gfs/prod/${RUN}.${PDY} ### NCO PROD | ||
export COMROOT=/gpfs/dell1/nco/ops/com | ||
export DCOMROOT=/gpfs/dell1/nco/ops/dcom | ||
else | ||
# export COMIN=/gpfs/dell3/ptmp/emc.glopara/ROTDIRS/prfv3rt1/${RUN}.${PDY}/${cyc}/nawips ### EMC PARA Realtime | ||
# export COMINgdas=/gpfs/dell3/ptmp/emc.glopara/ROTDIRS/prfv3rt1/${RUN} ### EMC PARA Realtime | ||
export workdir=${workdir:-$HOMEgfs} | ||
export HOMEgldas=$workdir/sorc/gldas.fd | ||
export COMROOT=$workdir/com | ||
export DCOMROOT=$workdir/dcom | ||
export COMINgdas=$COMROOT | ||
export DCOMIN=$DCOMROOT | ||
export COMIN=$workdir/comin | ||
export COMOUT=$workdir/comout | ||
fi | ||
|
||
if [ $SENDCOM = YES ] ; then | ||
mkdir -m 775 -p $COMOUT $COMOUTncdc $COMOUTukmet $COMOUTecmwf | ||
fi | ||
|
||
# Set user specific variables | ||
############################################################# | ||
#export NWTEST=/gpfs/hps/emc/global/noscrub/emc.glopara/svn/gfs/work | ||
export PARA_CONFIG=$HOMEgw/driver/gdas/para_config.gdas_gldas | ||
#export JOBGLOBAL=$NWTEST/gdas.${gdas_ver}/jobs | ||
export JOBGLOBAL=$HOMEgldas/jobs | ||
|
||
############################################################# | ||
# Execute job | ||
############################################################# | ||
echo $JOBGLOBAL/JGDAS_ATMOS_GLDAS | ||
$JOBGLOBAL/JGDAS_ATMOS_GLDAS | ||
|
||
exit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.