Skip to content

Commit

Permalink
Squash merge EXP-flat into master. Push to code-review.
Browse files Browse the repository at this point in the history
  • Loading branch information
aerorahul committed Feb 7, 2018
1 parent 13fb41a commit ca35196
Show file tree
Hide file tree
Showing 2,333 changed files with 12,826 additions and 371,102 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

set -x

export PDATE=2016030306
export PDATE=${PDATE:-2016030706}

#############################################################
# Specify whether the run is production or development
Expand All @@ -26,31 +26,21 @@ export jobid=${job}.${pid}
export envir=para
export DATAROOT=/gpfs/td2/emc/da/noscrub/Edward.Safford/test_data
export COMROOT=/ptmpp1/$LOGNAME/com

me=`hostname | cut -c1`

#############################################################
# Specify versions
#############################################################
export gdas_ver=v13.0.0
export global_shared_ver=v13.0.0
export grib_util_ver=v1.0.1
export prod_util_ver=v1.0.2
export util_shared_ver=v1.0.2
export gdas_minmon_ver=v1.0.0
export minmon_shared_ver=v1.0.0
export gfs_ver=v15.0.0


#############################################################
# Load modules
#############################################################
. /usrx/local/Modules/3.2.9/init/ksh
module use /nwprod2/modulefiles
module load grib_util/$grib_util_ver
module load prod_util/$prod_util_ver
module load util_shared/$util_shared_ver

module unload ics/12.1
module load ics/15.0.3
module load grib_util
module load prod_util

module list

Expand All @@ -64,13 +54,13 @@ export POE=YES
#############################################################
# Set user specific variables
#############################################################
export SUFFIX=testminmon
export NWTEST=/da/noscrub/${LOGNAME}/MinMon_546/util/Minimization_Monitor/nwprod
export HOMEgdas=${NWTEST}/gdas_minmon.${gdas_minmon_ver}
export JOBGLOBAL=${HOMEgdas}/jobs
export HOMEminmon=${NWTEST}/minmon_shared.${minmon_shared_ver}
export MINMON_SUFFIX=testminmon
export NWTEST=${NWTEST:-/gpfs/${me}d2/emc/da/noscrub/Edward.Safford}
export HOMEgdas=${HOMEgdas:-${NWTEST}/gfs.${gfs_ver}}
export JOBGLOBAL=${JOBGLOBAL:-${HOMEgdas}/jobs}

export COM_IN=${DATAROOT}
export M_TANKverf=${COMROOT}/${SUFFIX}
export M_TANKverf=${COMROOT}/${MINMON_SUFFIX}


#############################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#BSUB -W 00:05
#BSUB -P GFS-T2O
#BSUB -R "select[mem>80] rusage[mem=80]"
##BSUB -cwd /gpfs/hps/ptmp/Edward.Safford
##BSUB -cwd ${PWD}

set -x

Expand All @@ -24,15 +22,14 @@ export job=gdas_vminmon.${cyc}
export pid=${pid:-$$}
export jobid=${job}.${pid}
export envir=para
export DATAROOT=${DATAROOT:-/gpfs/hps3/emc/da/noscrub/$LOGNAME/test_data}
export COMROOT=${COMROOT:-/gpfs/hps2/ptmp/$LOGNAME/com}


#############################################################
# Specify versions
#############################################################
export gdas_ver=v14.1.0
export global_shared_ver=v14.1.0
export gdas_minmon_ver=v1.0.0
export minmon_shared_ver=v1.0.0
export gfs_ver=v15.0.0


#############################################################
Expand All @@ -55,14 +52,11 @@ export POE=YES
#############################################################
# Set user specific variables
#############################################################
export DATAROOT=${DATAROOT:-/gpfs/hps/emc/da/noscrub/$LOGNAME/test_data}
export COMROOT=${COMROOT:-/gpfs/hps/ptmp/$LOGNAME/com}
export MINMON_SUFFIX=${MINMON_SUFFIX:-testminmon}
export NWTEST=${NWTEST:-/gpfs/hps/emc/da/noscrub/${LOGNAME}/gfs_q3fy17}
export HOMEgdas=${NWTEST}/gdas.${gdas_ver}
export JOBGLOBAL=${HOMEgdas}/jobs
export HOMEminmon=${NWTEST}/global_shared.${global_shared_ver}
export COM_IN=${DATAROOT}
export NWTEST=${NWTEST:-/gpfs/hps3/emc/da/noscrub/${LOGNAME}}
export HOMEgdas=${HOMEgdas:-${NWTEST}/gfs.${gfs_ver}}
export JOBGLOBAL=${JOBGLOBAL:-${HOMEgdas}/jobs}
export COM_IN=${COM_IN:-${DATAROOT}}
export M_TANKverf=${M_TANKverf:-${COMROOT}/${MINMON_SUFFIX}}


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

set -x

export PDATE=${PDATE:-2016030706}
export NET='gfs'
export RUN='gfs'
#export PDATE=${PDATE:-2016030706}
export PDATE=${PDATE:-2018011106}

#############################################################
# Specify whether the run is production or development
#############################################################
export PDY=`echo $PDATE | cut -c1-8`
export cyc=`echo $PDATE | cut -c9-10`
export job=gfs_vminmon.${cyc}
Expand All @@ -33,18 +33,17 @@ export COMROOT=${COMROOT:-/ptmpp1/$LOGNAME/com}
#############################################################
# Specify versions
#############################################################
export gfs_ver=v14.1.0
export global_shared_ver=v14.1.0
export gfs_ver=v15.0.0


#############################################################
# Load modules
#############################################################
. /usrx/local/Modules/3.2.9/init/ksh
module use /nwprod2/modulefiles
module load grib_util
#module load grib_util
module load prod_util
module load util_shared
#module load util_shared

module list

Expand All @@ -59,14 +58,23 @@ export POE=YES
# Set user specific variables
#############################################################
export MINMON_SUFFIX=testminmon
export NWTEST=${NWTEST:-/gpfs/${me}d2/emc/da/noscrub/${LOGNAME}/gfs_q3fy17}
export NWTEST=${NWTEST:-/gpfs/${me}d2/emc/da/noscrub/Edward.Safford}
export HOMEgfs=${HOMEgfs:-${NWTEST}/gfs.${gfs_ver}}
export JOBGLOBAL=${JOBGLOBAL:-${HOMEgfs}/jobs}
export HOMEminmon=${HOMEminmon:-${NWTEST}/global_shared.${global_shared_ver}}
#export HOMEminmon=${HOMEminmon:-${NWTEST}/global_shared.${global_shared_ver}}

export COM_IN=${COM_IN:-${DATAROOT}}
export M_TANKverf=${M_TANKverf:-${COMROOT}/${MINMON_SUFFIX}}

jlogdir=${jlogdir:-/ptmpp1/${LOGNAME}/jlogs}
if [[ ! -d ${jlogdir} ]]; then
mkdir -p ${jlogdir}
fi

export jlogfile=${jlogfile:-${jlogdir}/${MINMON_SUFFIX}.${NET}.${RUN}.jlogfile}
if [[ -e ${jlogfile} ]]; then
rm -f ${jlogfile}
fi

#############################################################
# Execute job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
#BSUB -W 00:05
#BSUB -P GFS-T2O
#BSUB -R "select[mem>80] rusage[mem=80]"
##BSUB -cwd /gpfs/hps/ptmp/Edward.Safford
##BSUB -cwd ${PWD}

set -x

export PDATE=${PDATE:-2016030700}
export PDATE=${PDATE:-2016030800}

#############################################################
# Specify whether the run is production or development
Expand All @@ -24,15 +22,14 @@ export job=gfs_vminmon.${cyc}
export pid=${pid:-$$}
export jobid=${job}.${pid}
export envir=para
export DATAROOT=${DATAROOT:-/gpfs/hps3/emc/da/noscrub/$LOGNAME/test_data}
export COMROOT=${COMROOT:-/gpfs/hps2/ptmp/$LOGNAME/com}


#############################################################
# Specify versions
#############################################################
export gfs_ver=v14.1.0
export global_shared_ver=v14.1.0
export gfs_minmon_ver=v1.0.0
export minmon_shared_ver=v1.0.0
export gfs_ver=v15.0.0


#############################################################
Expand All @@ -55,14 +52,11 @@ export POE=YES
#############################################################
# Set user specific variables
#############################################################
export DATAROOT=${DATAROOT:-/gpfs/hps/emc/da/noscrub/$LOGNAME/test_data}
export COMROOT=${COMROOT:-/gpfs/hps/ptmp/$LOGNAME/com}
export MINMON_SUFFIX=${MINMON_SUFFIX:-testminmon}
export NWTEST=${NWTEST:-/gpfs/hps/emc/da/noscrub/${LOGNAME}/gfs_q3fy17}
export HOMEgfs=${NWTEST}/gfs.${gfs_ver}
export JOBGLOBAL=${HOMEgfs}/jobs
export HOMEminmon=${NWTEST}/global_shared.${global_shared_ver}
export COM_IN=${DATAROOT}
export NWTEST=${NWTEST:-/gpfs/hps3/emc/da/noscrub/${LOGNAME}}
export HOMEgfs=${HOMEgfs:-${NWTEST}/gfs.${gfs_ver}}
export JOBGLOBAL=${JOBGLOBAL:-${HOMEgfs}/jobs}
export COM_IN=${COM_IN:-${DATAROOT}}
export M_TANKverf=${M_TANKverf:-${COMROOT}/${MINMON_SUFFIX}}

#############################################################
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

# LSBATCH: User input
#BSUB -J jgfs_gempak_00
#BSUB -o /gpfs/hps/ptmp/Boi.Vuong/output/gfs_gempak_00.o%J
#BSUB -e /gpfs/hps/ptmp/Boi.Vuong/output/gfs_gempak_00.o%J
#BSUB -o /gpfs/hps3/ptmp/Boi.Vuong/output/gfs_gempak_00.o%J
#BSUB -e /gpfs/hps3/ptmp/Boi.Vuong/output/gfs_gempak_00.o%J
#BSUB -L /bin/sh
#BSUB -q dev
#BSUB -cwd /gpfs/hps/ptmp/Boi.Vuong/output
#BSUB -cwd /gpfs/hps3/ptmp/Boi.Vuong/output
#BSUB -W 03:00
#BSUB -P GFS-T2O
#BSUB -R rusage[mem=2000]
#BSUB -extsched 'CRAYLINUX[]' # Request to run on compute nodes

export KMP_AFFINITY=disabled

export PDY=20170304
export PDY1=`expr $PDY - 1`
# export PDY=`date -u +%Y%m%d`
export PDY=20180121

# export cyc=06
export cyc=00
Expand All @@ -38,24 +38,25 @@ module load craype-hugepages2M
module load craype-haswell
module load prod_envir
module load prod_util/1.0.5
module load util_shared/1.0.6

###########################################
# Now set up GEMPAK/NTRANS environment
###########################################
module load gempak/7.3.0
module load grib_util/1.0.3
#
# This is a test version of UTIL_SHARED.v1.0.5 on CRAY
# This is a test version of UTIL_SHARED.v1.0.7 on CRAY
#
module use /usrx/local/nceplibs/util_shared.v1.0.5/modulefiles
module load util_shared/1.0.5
# module use /gpfs/hps/nco/ops/nwtest/modulefiles
# module use /usrx/local/nceplibs/util_shared.v1.0.7/modulefiles
# module load util_shared/1.0.7

module list

############################################
# Define COM, PCOM, COMIN directories
############################################

# set envir=prod or para to test with data in prod or para
export envir=para
# export envir=prod
Expand All @@ -66,19 +67,19 @@ export KEEPDATA=YES
export job=gfs_gempak_${cyc}
export pid=${pid:-$$}
export jobid=${job}.${pid}
export DATAROOT=/gpfs/hps/ptmp/Boi.Vuong/output
export NWROOT=/gpfs/hps/emc/global/noscrub/Boi.Vuong/svn
export COMROOT2=/gpfs/hps/ptmp/Boi.Vuong/com
export PCOMROOT2=/gpfs/hps/ptmp/Boi.Vuong/pcom/${envir}
export DATAROOT=/gpfs/hps3/ptmp/Boi.Vuong/output
# export NWROOT=/gpfs/hps3/emc/global/noscrub/Boi.Vuong/svn
export NWROOT=/gpfs/hps3/emc/global/noscrub/Boi.Vuong/svn/fv3gfs
export COMROOT2=/gpfs/hps3/ptmp/Boi.Vuong/com

mkdir -m 775 -p ${COMROOT2} ${COMROOT2}/logs ${COMROOT2}/logs/jlogfiles $PCOMROOT2
export jlogfile=${COMROOT2}/logs/jlogfiles/jlogfile.${jobid}

#############################################################
# Specify versions
#############################################################
export gdas_ver=v14.1.0
export gfs_ver=v14.1.0
export gdas_ver=v15.0.0
export gfs_ver=v15.0.0

##########################################################
# obtain unique process id (pid) and make temp directory
Expand All @@ -90,7 +91,7 @@ cd $DATA
################################
# Set up the HOME directory
################################
export HOMEgfs=${HOMEgfs:-${NWROOT}/gfs.${gfs_ver}}
export HOMEgfs=${HOMEgfs:-${NWROOT}}
export EXECgfs=${EXECgfs:-$HOMEgfs/exec}
export PARMgfs=${PARMgfs:-$HOMEgfs/parm}
export FIXgfs=${FIXgfs:-$HOMEgfs/gempak/fix}
Expand All @@ -107,24 +108,30 @@ export model=${model:-gfs}
##############################################
# Define COM directories
##############################################
# export COM_IN=${COM_IN:-${COMROOT}/${NET}/${envir}}
# export COM_OUT=${COM_OUT:-${COMROOT}/nawips/${envir}}
# export COMIN=${COMIN:-${COM_IN}/${RUN}.${PDY}}
# export COMOUT=${COMOUT:-${COM_OUT}/${RUN}.${PDY}}

if [ $envir = "prod" ] ; then
# This setting is for testing with GFS (production)
export COMIN=${COMROOTp2}/gfs/prod/gfs.${PDY}
export COMIN=/gpfs/hps/nco/ops/com/gfs/prod/gfs.${PDY} ### NCO PROD
else
export COMIN=/gpfs/hps/ptmp/emc.glopara/com2/gfs/para/gfs.${PDY} ### EMC PARA Realtime
# export COMIN=/gpfs/hps3/ptmp/emc.glopara/com2/gfs/para/gfs.${PDY} ### EMC PARA Realtime
# export COMIN=/gpfs/hps3/ptmp/emc.glopara/ROTDIRS/prfv3rt1/gfs.${PDY}/${cyc} ### EMC PARA Realtime
# export COMIN=/gpfs/hps3/ptmp/emc.glopara/prfv3l65/gfs.${PDY}/${cyc} ### EMC PARA Realtime
export COMIN=/gpfs/hps3/emc/global/noscrub/Boi.Vuong/svn/gfs.${PDY}/${cyc} ### Boi PARA
# export COMIN=/gpfs/hps3/ptmp/emc.glopara/ROTDIRS/prfv3test/gfs.${PDY}/${cyc} ### EMC test PARA ####

# export COMIN=/gpfs/hps/nco/ops/com/gfs/para/gfs.${PDY} ### NCO PARA
fi

export COMOUT=${COMOUT:-${COMROOT2}/nawips/${envir}/${RUN}.${PDY}}
export COMOUT=${COMOUT:-${COMROOT2}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/nawips}

if [ $SENDCOM = YES ] ; then
mkdir -m 775 -p $COMOUT
fi

export NODES=5
export ntasks=17
export ptile=4
export threads=6

#############################################
# run the GFS job
#############################################
Expand Down
Loading

0 comments on commit ca35196

Please sign in to comment.