Skip to content

Commit

Permalink
Mods towards getting the Makefile to work (after 5th attempt)
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Jan 27, 2024
1 parent 726531e commit 5a64daf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
4 changes: 4 additions & 0 deletions python/ctsm/toolchain/gen_mksurfdata_jobscript_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ def main():
"--start-year 1850 --end-year 2100 --nosurfdata --ssp-rcp SSP2-4.5 --res",
"f10",
),
"crop-global-SSP2-4.5-f45": (
"--start-year 1850 --end-year 2100 --nosurfdata --ssp-rcp SSP2-4.5 --res",
"f45",
),
"crop-global-SSP2-4.5-ne3": (
"--start-year 1850 --end-year 2100 --nosurfdata --ssp-rcp SSP2-4.5 --res",
"ne3",
Expand Down
32 changes: 16 additions & 16 deletions tools/mksurfdata_esmf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ global-present : FORCE
$(BATCHJOBS) $@.sh

global-present-low-res : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 1 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

#
Expand Down Expand Up @@ -179,15 +179,15 @@ crop-global-present : FORCE
$(BATCHJOBS) $@.sh

crop-global-present-low-res : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 1 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-present-ne16 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-present-ne120 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-present-nldas : FORCE
Expand All @@ -199,31 +199,31 @@ crop-global-1850 : FORCE
$(BATCHJOBS) $@.sh

crop-global-1850-low-res : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 1 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-1850-ne16 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-1850-ne120 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-hist : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-hist-low-res : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 1 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-hist-ne16 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-global-hist-ne120 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 01:00:00
$(BATCHJOBS) $@.sh

crop-numa-present : FORCE
Expand Down Expand Up @@ -273,27 +273,27 @@ crop-global-SSP2-4.5 : crop-global-SSP2-4.5-f09 \
crop-global-SSP2-4.5-mpasa120

crop-global-SSP1-1.9-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP1-2.6-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP2-4.5-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP2-4.5-f19 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP2-4.5-f10 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 1 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP2-4.5-f45 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 1 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP2-4.5-hcru : FORCE
Expand Down Expand Up @@ -326,19 +326,19 @@ crop-global-SSP2-4.5-hi-res : FORCE
$(BATCHJOBS) $@.sh

crop-global-SSP3-7.0-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP4-3.4-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP4-6.0-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

crop-global-SSP5-8.5-f09 : FORCE
$(MKSURFDATA) --number-of-nodes 4 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(MKSURFDATA) --number-of-nodes 6 --scenario $@ --jobscript-file $@.sh --walltime 02:00:00
$(BATCHJOBS) $@.sh

#
Expand Down

0 comments on commit 5a64daf

Please sign in to comment.