forked from NOAA-EMC/GEFS
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: rocoto/bin/hera/prdgen_hr.sh modified: rocoto/bin/wcoss2/prdgen_hr.sh Refs: NOAA-EMC#95
- Loading branch information
1 parent
c3360fb
commit 7427fe0
Showing
2 changed files
with
35 additions
and
12 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 |
---|---|---|
@@ -1,23 +1,46 @@ | ||
#!/bin/ksh | ||
#! /usr/bin/env bash | ||
|
||
set -x | ||
export IOBUF_PARAMS=*:size=64M:count=4:verbose | ||
|
||
ulimit -s unlimited | ||
ulimit -a | ||
|
||
export MP_SHARED_MEMORY=yes | ||
export MEMORY_AFFINITY=core:4 | ||
# module_ver.h | ||
. ${GEFS_ROCOTO}/dev/versions/run_hera.ver | ||
|
||
# Load modules | ||
module reset | ||
|
||
module use -a /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack | ||
|
||
module load hpc/${hpc_ver} | ||
module load hpc-intel/${intel_ver} | ||
module load hpc-impi/${impi_ver} | ||
module load grib_util/${grib_util_ver} | ||
module load prod_util/${prod_util_ver} | ||
module load netcdf/${netcdf_ver} | ||
|
||
module load prod_envir/${prod_envir_ver} | ||
|
||
module load wgrib2/$wgrib2_ver | ||
|
||
module list | ||
|
||
# For Development | ||
. ${GEFS_ROCOTO}/bin/hera/common.sh | ||
|
||
#export NODES=$SLURM_JOB_NUM_NODES | ||
#export total_tasks=$SLURM_NTASKS | ||
#export OMP_NUM_THREADS=4 | ||
#export taskspernode=$SLURM_CPUS_ON_NODE | ||
# Export List | ||
#export MP_SHARED_MEMORY=yes | ||
#export MEMORY_AFFINITY=core:4 | ||
export OMP_NUM_THREADS=1 | ||
shopt -s extglob | ||
ver=${gefs_ver%${gefs_ver##v+([0-9]).+([0-9])}} | ||
shopt -u extglob | ||
|
||
export DO_LOW_RES= | ||
export ROTDIR=${COMROOT}/gefs/${ver} | ||
export ROTDIR_GFS=${HOMEdata}/gfs/${gfs_ver} | ||
|
||
# export for development runs only begin | ||
export RERUN=NO | ||
|
||
# CALL executable job script here | ||
. $SOURCEDIR/jobs/JGEFS_ATMOS_PRDGEN | ||
. ${SOURCEDIR}/jobs/JGEFS_ATMOS_PRDGEN |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/ksh -l | ||
#! /usr/bin/env bash | ||
|
||
set -x | ||
ulimit -s unlimited | ||
|