Skip to content

Commit 8e80909

Browse files
Turn off t232 parallel IO for non-test runs (#246)
* turn t232 parallel io only for test runs * turn on parallel io by default for t232 only when running TESTS
1 parent fb5ce02 commit 8e80909

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

param_templates/MOM_input.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3679,7 +3679,7 @@ Global:
36793679
nearest smaller number of PEs that is achievable.
36803680
datatype: integer
36813681
value:
3682-
$OCN_GRID == "tx2_3v2": = - ( - $NTASKS_OCN // 256)
3682+
$OCN_GRID == "tx2_3v2" and $TEST: = - ( - $NTASKS_OCN // 256)
36833683
$OCN_GRID == "tx0.25v1": = - ( - $NTASKS_OCN // 128)
36843684
GEOM_FILE:
36853685
description: |

param_templates/input_nml.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ diag_manager_nml:
4949
values: 90
5050
auto_merge_nc:
5151
values:
52-
$OCN_GRID in ["tx2_3v2", "tx0.25v1"]: .true.
52+
$OCN_GRID == "tx2_3v2" and $TEST: .true.
53+
$OCN_GRID == "tx0.25v1": .true.
5354
else: .false.
5455

5556
mpp_io_nml:

param_templates/json/MOM_input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2980,7 +2980,7 @@
29802980
"description": "When AUTO_MASKTABLE is enabled, target number of IO PEs. If the given target\nnumber of IO PEs is not achievable, the target number of IO PEs is set to the\nnearest smaller number of PEs that is achievable.\n",
29812981
"datatype": "integer",
29822982
"value": {
2983-
"$OCN_GRID == \"tx2_3v2\"": "= - ( - $NTASKS_OCN // 256)",
2983+
"$OCN_GRID == \"tx2_3v2\" and $TEST": "= - ( - $NTASKS_OCN // 256)",
29842984
"$OCN_GRID == \"tx0.25v1\"": "= - ( - $NTASKS_OCN // 128)"
29852985
}
29862986
},

param_templates/json/input_nml.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
},
5959
"auto_merge_nc": {
6060
"values": {
61-
"$OCN_GRID in [\"tx2_3v2\", \"tx0.25v1\"]": ".true.",
61+
"$OCN_GRID == \"tx2_3v2\" and $TEST": ".true.",
62+
"$OCN_GRID == \"tx0.25v1\"": ".true.",
6263
"else": ".false."
6364
}
6465
}

0 commit comments

Comments
 (0)