Skip to content

Commit 0e9b692

Browse files
committed
Attempt to multithread the image tests
1 parent 93cdf32 commit 0e9b692

9 files changed

+214
-121
lines changed

tests/integration/generated/test_weekly_bundles_chrysalis.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
case = "v3.LR.historical_0051"
2828
constraint = ""
2929
dry_run = "False"
30-
environment_commands = ""
30+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
3131
input = /lcrc/group/e3sm2/ac.wlin//E3SMv3/v3.LR.historical_0051
3232
input_subdir = archive/atm/hist
3333
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
3434
# To run this test, edit `output` and `www` in this file, along with `actual_images_dir` in test_bundles.py
35-
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_bundles_output/unique_id/v3.LR.historical_0051"
35+
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_bundles_output/update_test_images_20251021_try2/v3.LR.historical_0051"
3636
partition = "compute"
3737
qos = "regular"
3838
walltime = "07:00:00"
39-
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_bundles_www/unique_id"
39+
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_bundles_www/update_test_images_20251021_try2"
4040

4141
[bundle]
4242

@@ -118,7 +118,7 @@ years = "1985:1989:2",
118118

119119
[e3sm_diags]
120120
active = True
121-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
121+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
122122
grid = '180x360_aave'
123123
ref_final_yr = 1989
124124
ref_start_yr = 1985
@@ -141,7 +141,7 @@ years = "1985:1989:2",
141141
ref_name = "v3.LR.historical_0051"
142142
ref_start_yr = 1985
143143
ref_years = "1985-1986",
144-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_bundles_output/unique_id/v3.LR.historical_0051/post/atm/180x360_aave/clim"
144+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_bundles_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/atm/180x360_aave/clim"
145145
run_type = "model_vs_model"
146146
# TODO: Add "tc_analysis" back in after empty dat is resolved.
147147
sets = "polar","enso_diags","streamflow",
@@ -155,7 +155,7 @@ years = "1985:1989:2",
155155
[global_time_series]
156156
active = True
157157
bundle = "bundle2"
158-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
158+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
159159
experiment_name = "v3.LR.historical_0051"
160160
figstr = "v3.LR.historical_0051"
161161
plots_original="net_toa_flux_restom,global_surface_air_temperature,toa_radiation,net_atm_energy_imbalance,net_atm_water_imbalance"

tests/integration/generated/test_weekly_comprehensive_v2_chrysalis.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
case = "v2.LR.historical_0201"
33
constraint = ""
44
dry_run = "False"
5-
environment_commands = ""
5+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
66
fail_on_dependency_skip = True
77
input = /lcrc/group/e3sm/ac.forsyth2//E3SMv2/v2.LR.historical_0201
88
input_subdir = archive/atm/hist
99
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
10-
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v2_output/unique_id/v2.LR.historical_0201"
10+
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v2_output/update_test_images_20251021_try2/v2.LR.historical_0201"
1111
partition = "debug"
1212
qos = "regular"
13-
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_comprehensive_v2_www/unique_id"
13+
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_comprehensive_v2_www/update_test_images_20251021_try2"
1414
years = "1980:1984:2",
1515

1616
[climo]
@@ -107,7 +107,7 @@ walltime = "00:30:00"
107107
active = True
108108
climo_diurnal_frequency = "diurnal_8xdaily"
109109
climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
110-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
110+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
111111
grid = '180x360_aave'
112112
multiprocessing = True
113113
num_workers = 8
@@ -140,7 +140,7 @@ years = "1982:1984:2",
140140
partition = "compute"
141141
qos = "regular"
142142
ref_name = "v2.LR.historical_0201"
143-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v2_output/unique_id/v2.LR.historical_0201/post/atm/180x360_aave/clim"
143+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v2_output/update_test_images_20251021_try2/v2.LR.historical_0201/post/atm/180x360_aave/clim"
144144
run_type = "model_vs_model"
145145
short_ref_name = "same simulation"
146146
swap_test_ref = False
@@ -157,7 +157,7 @@ years = "1982:1984:2",
157157
partition = "compute"
158158
qos = "regular"
159159
ref_name = "v2.LR.historical_0201"
160-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v2_output/unique_id/v2.LR.historical_0201/post/lnd/180x360_aave/clim"
160+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v2_output/update_test_images_20251021_try2/v2.LR.historical_0201/post/lnd/180x360_aave/clim"
161161
run_type = "model_vs_model"
162162
sets = "lat_lon_land",
163163
short_ref_name = "same simulation"
@@ -181,7 +181,7 @@ walltime = "00:30:00"
181181
[global_time_series]
182182
active = True
183183
climo_years ="1980-1984", "1985-1990",
184-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
184+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
185185
experiment_name = "v2.LR.historical_0201"
186186
figstr = "v2.LR.historical_0201"
187187
moc_file=mocTimeSeries_1980-1990.nc

tests/integration/generated/test_weekly_comprehensive_v3_chrysalis.cfg

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
case = "v3.LR.historical_0051"
33
constraint = ""
44
dry_run = "False"
5-
environment_commands = ""
5+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
66
fail_on_dependency_skip = True
77
infer_path_parameters = False
88
infer_section_parameters = False
99
input = /lcrc/group/e3sm2/ac.wlin//E3SMv3/v3.LR.historical_0051
1010
input_subdir = archive/atm/hist
1111
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
12-
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051"
12+
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051"
1313
partition = "debug"
1414
qos = "regular"
15-
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_comprehensive_v3_www/unique_id"
15+
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_comprehensive_v3_www/update_test_images_20251021_try2"
1616
years = "1985:1989:2",
1717

1818
[climo]
@@ -120,7 +120,7 @@ active = True
120120
climo_diurnal_frequency = "diurnal_8xdaily"
121121
climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
122122
climo_subsection = "atm_monthly_180x360_aave"
123-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
123+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
124124
grid = '180x360_aave'
125125
multiprocessing = True
126126
num_workers = 8
@@ -172,16 +172,16 @@ tc_obs = "/lcrc/group/e3sm/diagnostics/observations/Atm/tc-analysis/"
172172
tag = "model_vs_model"
173173
ts_num_years_ref = 2
174174
# Reference paths
175-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051/post/atm/180x360_aave/clim"
175+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/atm/180x360_aave/clim"
176176
# mvm streamflow only
177177
gauges_path = "/lcrc/group/e3sm/diagnostics/observations/Atm/time-series/GSIM/GSIM_catchment_characteristics_all_1km2.csv"
178-
reference_data_path_ts_rof = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051/post/rof/native/ts/monthly"
178+
reference_data_path_ts_rof = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/rof/native/ts/monthly"
179179
# mvm diurnal_cycle only
180-
reference_data_path_climo_diurnal = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051/post/atm/180x360_aave/clim_diurnal_8xdaily"
180+
reference_data_path_climo_diurnal = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/atm/180x360_aave/clim_diurnal_8xdaily"
181181
# mvm "enso_diags", "qbo", "area_mean_time_series"
182-
reference_data_path_ts = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051/post/atm/180x360_aave/ts/monthly"
182+
reference_data_path_ts = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/atm/180x360_aave/ts/monthly"
183183
# mvm tropical_subseasonal only
184-
reference_data_path_ts_daily = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051/post/atm/180x360_aave/ts/daily"
184+
reference_data_path_ts_daily = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/atm/180x360_aave/ts/daily"
185185

186186
[[ lnd_monthly_mvm_lnd ]]
187187
# Test model-vs-model using the same files as the reference
@@ -197,7 +197,7 @@ tc_obs = "/lcrc/group/e3sm/diagnostics/observations/Atm/tc-analysis/"
197197
tag = "model_vs_model"
198198
ts_num_years_ref = 2
199199
# Reference paths
200-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/unique_id/v3.LR.historical_0051/post/lnd/180x360_aave/clim"
200+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_comprehensive_v3_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/lnd/180x360_aave/clim"
201201

202202
[mpas_analysis]
203203
active = True
@@ -215,7 +215,7 @@ walltime = "00:30:00"
215215
[global_time_series]
216216
active = True
217217
climo_years = "1985-1989", "1990-1995",
218-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
218+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
219219
experiment_name = "v3.LR.historical_0051"
220220
figstr = "v3.LR.historical_0051"
221221
#moc_file=mocTimeSeries_1985-1995.nc
@@ -314,7 +314,7 @@ years = "1985:1989:4"
314314

315315
[pcmdi_diags]
316316
active = True
317-
environment_commands_secondary = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
317+
environment_commands_secondary = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
318318
walltime = "2:00:00"
319319
model_name = 'e3sm.historical.v3-LR.0051'
320320
model_tableID = 'Amon'

tests/integration/generated/test_weekly_legacy_3.0.0_bundles_chrysalis.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
case = "v3.LR.historical_0051"
2828
constraint = ""
2929
dry_run = "False"
30-
environment_commands = ""
30+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
3131
input = /lcrc/group/e3sm2/ac.wlin//E3SMv3/v3.LR.historical_0051
3232
input_subdir = archive/atm/hist
3333
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
3434
# To run this test, edit `output` and `www` in this file, along with `actual_images_dir` in test_bundles.py
35-
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_bundles_output/unique_id/v3.LR.historical_0051"
35+
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_bundles_output/update_test_images_20251021_try2/v3.LR.historical_0051"
3636
partition = "compute"
3737
qos = "regular"
3838
walltime = "07:00:00"
39-
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_legacy_3.0.0_bundles_www/unique_id"
39+
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_legacy_3.0.0_bundles_www/update_test_images_20251021_try2"
4040

4141
[bundle]
4242

@@ -118,7 +118,7 @@ years = "1985:1989:2",
118118

119119
[e3sm_diags]
120120
active = True
121-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
121+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
122122
grid = '180x360_aave'
123123
ref_final_yr = 1989
124124
ref_start_yr = 1985
@@ -141,7 +141,7 @@ years = "1985:1989:2",
141141
ref_name = "v3.LR.historical_0051"
142142
ref_start_yr = 1985
143143
ref_years = "1985-1986",
144-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_bundles_output/unique_id/v3.LR.historical_0051/post/atm/180x360_aave/clim"
144+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_bundles_output/update_test_images_20251021_try2/v3.LR.historical_0051/post/atm/180x360_aave/clim"
145145
run_type = "model_vs_model"
146146
# TODO: Add "tc_analysis" back in after empty dat is resolved.
147147
sets = "polar","enso_diags","streamflow",
@@ -155,7 +155,7 @@ years = "1985:1989:2",
155155
[global_time_series]
156156
active = True
157157
bundle = "bundle2"
158-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
158+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
159159
experiment_name = "v3.LR.historical_0051"
160160
figstr = "v3.LR.historical_0051"
161161
plots_original="net_toa_flux_restom,global_surface_air_temperature,toa_radiation,net_atm_energy_imbalance,net_atm_water_imbalance"

tests/integration/generated/test_weekly_legacy_3.0.0_comprehensive_v2_chrysalis.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
case = "v2.LR.historical_0201"
33
constraint = ""
44
dry_run = "False"
5-
environment_commands = ""
5+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
66
fail_on_dependency_skip = True
77
input = /lcrc/group/e3sm/ac.forsyth2//E3SMv2/v2.LR.historical_0201
88
input_subdir = archive/atm/hist
99
mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc"
10-
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_output/unique_id/v2.LR.historical_0201"
10+
output = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_output/update_test_images_20251021_try2/v2.LR.historical_0201"
1111
partition = "debug"
1212
qos = "regular"
13-
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_www/unique_id"
13+
www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_www/update_test_images_20251021_try2"
1414
years = "1980:1984:2",
1515

1616
[climo]
@@ -107,7 +107,7 @@ walltime = "00:30:00"
107107
active = True
108108
climo_diurnal_frequency = "diurnal_8xdaily"
109109
climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
110-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
110+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
111111
grid = '180x360_aave'
112112
multiprocessing = True
113113
num_workers = 8
@@ -140,7 +140,7 @@ years = "1982:1984:2",
140140
partition = "compute"
141141
qos = "regular"
142142
ref_name = "v2.LR.historical_0201"
143-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_output/unique_id/v2.LR.historical_0201/post/atm/180x360_aave/clim"
143+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_output/update_test_images_20251021_try2/v2.LR.historical_0201/post/atm/180x360_aave/clim"
144144
run_type = "model_vs_model"
145145
short_ref_name = "same simulation"
146146
swap_test_ref = False
@@ -157,7 +157,7 @@ years = "1982:1984:2",
157157
partition = "compute"
158158
qos = "regular"
159159
ref_name = "v2.LR.historical_0201"
160-
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_output/unique_id/v2.LR.historical_0201/post/lnd/180x360_aave/clim"
160+
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_weekly_legacy_3.0.0_comprehensive_v2_output/update_test_images_20251021_try2/v2.LR.historical_0201/post/lnd/180x360_aave/clim"
161161
run_type = "model_vs_model"
162162
sets = "lat_lon_land",
163163
short_ref_name = "same simulation"
@@ -181,7 +181,7 @@ walltime = "00:30:00"
181181
[global_time_series]
182182
active = True
183183
climo_years ="1980-1984", "1985-1990",
184-
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
184+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
185185
experiment_name = "v2.LR.historical_0201"
186186
figstr = "v2.LR.historical_0201"
187187
moc_file=mocTimeSeries_1980-1990.nc

0 commit comments

Comments
 (0)