-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add SECS variable to avoid unbound error * explicitly copy CICE ICs by date since there are now multiple cpc versions of the ICs in the input directory for reach res * note that datm configs at 1deg are expected to change due to fix of the MOM6 land mask point in the cice grid file
- Loading branch information
1 parent
e607ab5
commit 19fa289
Showing
6 changed files
with
68 additions
and
6 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
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,19 @@ | ||
#!/bin/sh | ||
#SBATCH -e err | ||
#SBATCH -o out | ||
#SBATCH --account=@[ACCNR] | ||
#SBATCH --qos=@[QUEUE] | ||
#SBATCH --nodes=1 | ||
#SBATCH --ntasks-per-node=8 | ||
#SBATCH --time=30 | ||
#SBATCH --job-name="@[JBNME]" | ||
|
||
set -eux | ||
|
||
echo -n " $( date +%s )," > job_timestamp.txt | ||
echo "Compile started: " `date` | ||
|
||
@[PATHRT]/compile.sh @[MACHINE_ID] "@[MAKE_OPT]" @[COMPILE_NR] | ||
|
||
echo "Compile ended: " `date` | ||
echo -n " $( date +%s )," >> job_timestamp.txt |
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,39 @@ | ||
#!/bin/sh | ||
#SBATCH -e err | ||
#SBATCH -o out | ||
#SBATCH --account=@[ACCNR] | ||
#SBATCH --qos=@[QUEUE] | ||
### #SBATCH --ntasks=@[TASKS] | ||
#SBATCH --nodes=@[NODES] | ||
#SBATCH --ntasks-per-node=@[TPN] | ||
#SBATCH --time=@[WLCLK] | ||
#SBATCH --job-name="@[JBNME]" | ||
### #SBATCH --exclusive | ||
|
||
set -eux | ||
echo -n " $( date +%s )," > job_timestamp.txt | ||
|
||
set +x | ||
source ./module-setup.sh | ||
module use $( pwd -P ) | ||
module load modules.fv3 | ||
module list | ||
|
||
set -x | ||
|
||
echo "Model started: " `date` | ||
|
||
export MPI_TYPE_DEPTH=20 | ||
export OMP_STACKSIZE=512M | ||
export OMP_NUM_THREADS=@[THRD] | ||
export ESMF_RUNTIME_COMPLIANCECHECK=OFF:depth=4 | ||
export PSM_RANKS_PER_CONTEXT=4 | ||
export PSM_SHAREDCONTEXTS=1 | ||
|
||
# Avoid job errors because of filesystem synchronization delays | ||
sync && sleep 1 | ||
|
||
srun --label -n @[TASKS] ./fv3.exe | ||
|
||
echo "Model ended: " `date` | ||
echo -n " $( date +%s )," >> job_timestamp.txt |