forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for the GDASApp testing in containers (NOAA-EMC#1151)
Adds support to running GDASapp portion of global-workflow in a container `CONTAINER.env` is quite minimalist at this point, it could also certainly be cleaned up, but it will need to be expanded later anyway to handle additional jobs. Fixes NOAA-EMC#1234
- Loading branch information
1 parent
3085dfc
commit 5a748ee
Showing
3 changed files
with
66 additions
and
1 deletion.
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,39 @@ | ||
#! /usr/bin/env bash | ||
|
||
if [[ $# -ne 1 ]]; then | ||
|
||
echo "Must specify an input argument to set runtime environment variables!" | ||
echo "argument can be any one of the following:" | ||
echo "atmanalrun atmensanalrun" | ||
echo "aeroanlrun" | ||
echo "anal sfcanl fcst post vrfy metp" | ||
echo "eobs eupd ecen efcs epos" | ||
echo "postsnd awips gempak" | ||
exit 1 | ||
|
||
fi | ||
|
||
step=$1 | ||
|
||
export npe_node_max=40 | ||
export launcher="mpirun" | ||
export mpmd_opt="--multi-prog" | ||
|
||
# Configure MPI environment | ||
export MPI_BUFS_PER_PROC=2048 | ||
export MPI_BUFS_PER_HOST=2048 | ||
export MPI_GROUP_MAX=256 | ||
export MPI_MEMMAP_OFF=1 | ||
export MP_STDOUTMODE="ORDERED" | ||
export KMP_AFFINITY=scatter | ||
export OMP_STACKSIZE=2048000 | ||
export NTHSTACK=1024000000 | ||
|
||
ulimit -s unlimited | ||
ulimit -a | ||
|
||
|
||
if [ "${step}" = "ocnanalrun" ]; then | ||
export NTHREADS_OCNANAL=1 | ||
export APRUN_OCNANAL="${launcher} -n 2" | ||
fi |
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,23 @@ | ||
BASE_GIT: '' | ||
DMPDIR: '/home/${USER}' | ||
PACKAGEROOT: '' | ||
COMROOT: '' | ||
COMINsyn: '' | ||
HOMEDIR: '/home/${USER}' | ||
STMP: '/home/${USER}' | ||
PTMP: '/home/${USER}' | ||
NOSCRUB: $HOMEDIR | ||
SCHEDULER: none | ||
ACCOUNT: '' | ||
QUEUE: '' | ||
QUEUE_SERVICE: '' | ||
PARTITION_BATCH: '' | ||
PARTITION_SERVICE: '' | ||
CHGRP_RSTPROD: 'YES' | ||
CHGRP_CMD: 'chgrp rstprod' | ||
HPSSARCH: 'NO' | ||
LOCALARCH: 'NO' | ||
ATARDIR: '${NOSCRUB}/archive_rotdir/${PSLOT}' | ||
MAKE_NSSTBUFR: 'NO' | ||
MAKE_ACFTBUFR: 'NO' | ||
SUPPORTED_RESOLUTIONS: ['C96', 'C48'] |