stand-alone cam regression tests broken on cheyenne in cam_cesm2_1_rel branch
- Dominant language
- No language data
- Stars
- 91
- Forks
- 183
- Avg merge
- 6d 2m
- Merged PRs (30d)
- 9
Description
### What happened?
Environmental variables set by the user which are needed for stand-alone cam regression tests are no longer exported to batch jobs by default on cheyenne. Thus, stand-alone cam tests do not preform as expected.
A workaround is to append `-V` option to the `qsub` command in `test_driver.sh`.
```
diff --git a/test/system/test_driver.sh b/test/system/test_driver.sh
index 3feef775..66806b43 100755
--- a/test/system/test_driver.sh
+++ b/test/system/test_driver.sh
@@ -937,7 +937,7 @@ if [ -n "${submit_script_cb}" ]; then
case $hostname in
# cheyenne
chey* | r* )
- batch_queue_submit='qsub '
+ batch_queue_submit='qsub -V '
;;
*)
echo "ERROR: machine $hostname not currently supported for batch builds"
@@ -1082,7 +1082,7 @@ if [ "${cesm_test_suite}" != "none" -a -n "${cesm_test_mach}" ]; then
echo "cd ${script_dir}" >> ${submit_script_cime}
echo './create_test' ${testargs} >> ${submit_script_cime}
chmod u+x ${submit_script_cime}
- qsub ${submit_script_cime}
+ qsub -V ${submit_script_cime}
fi
if [ "${hostname:0:6}" == "hobart" ]; then
@@ -1116,7 +1116,7 @@ if $run_cam_regression; then
case $hostname in
##cheyenne
ch* | r* )
- qsub ${submit_script_cb}
+ qsub -V ${submit_script_cb}
;;
##hobart
```
### What are the steps to reproduce the bug?
```
env CAM_TESTDIR=/glade/scratch/fvitt/test_dr_clbr BL_TESTDIR=/glade/p/cesm/amwg/cesm_baselines/cam_cesm2_1_rel_56 CAM_BATCHQ=regular test_driver.sh -f
```
### What CAM tag were you using?
cam_cesm2_1_rel_56
### What machine were you running CAM on?
CISL machine (e.g. cheyenne)
### What compiler were you using?
Intel
### Path to a case directory, if applicable
NA
### Will you be addressing this bug yourself?
No
### Extra info
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.