Skip to content

Commit

Permalink
Merge branch E3SM-Project/ndk/machinefiles/add-dinloc-testmods (PR #6247
Browse files Browse the repository at this point in the history
)

Add testmods to instruct cases to change where it reads inputdata (ie DIN_LOC)
  • Loading branch information
ndkeen authored Feb 28, 2024
2 parents cad2d2a + 2adccf4 commit 8fd2f80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cime_config/testmods_dirs/dinloc/case/shell_commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
# Set DIN to be local to the case
./xmlchange DIN_LOC_ROOT="`./xmlquery --value CASEROOT`/inputdata"
./xmlchange DIN_LOC_ROOT_CLMFORC="`./xmlquery --value CASEROOT`/inputdata/atm/datm7"
4 changes: 4 additions & 0 deletions cime_config/testmods_dirs/dinloc/scratch/shell_commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
# Set DIN to be in SCRATCH space
./xmlchange DIN_LOC_ROOT="${SCRATCH}/inputdata"
./xmlchange DIN_LOC_ROOT_CLMFORC="${SCRATCH}/inputdata/atm/datm7"

0 comments on commit 8fd2f80

Please sign in to comment.