Skip to content

Commit

Permalink
debug prerun script setup no symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
teopb committed Jul 21, 2023
1 parent aa0cdd5 commit fbadee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
4 changes: 3 additions & 1 deletion MPAS_true_failure_testing/pre_run_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
print(f"{var_name} changed from default value of {default_var_value} to {mod_nml[namelist_preface][var_name]}", file=f)

# submit jobs
run_cmd = f"python {mpas_src}/ensemble.py -rd {output_folder} -c {init_copy_folder} --verify_size {verify_runs} -s --verify"
# run_cmd = f"python {mpas_src}/ensemble.py -rd {output_folder} -c {init_copy_folder} --verify_size {verify_runs} -s --verify"
run_cmd = f"python {mpas_src}/ensemble.py -rd {output_folder} -c {init_copy_folder} --verify_size {verify_runs} --verify"

os.system(run_cmd)

for order in pos_test_orders:
Expand Down
18 changes: 3 additions & 15 deletions MPAS_true_failure_testing/test_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,9 @@
{
"var_name" : "config_coef_3rd_order",
"namelist_preface": "nhyd_model",
"neg_test_orders" : [0, -1, -2, -3],
"pos_test_orders" : [0.477, 0, -1, -2, -3]
"neg_test_orders" : [-3],
"pos_test_orders" : [-3]
},
{
"var_name" : "config_epssm",
"namelist_preface": "nhyd_model",
"neg_test_orders" : [0, -1, -2, -3],
"pos_test_orders" : [0.477, 0, -1, -2, -3]
},
{
"var_name" : "config_zd",
"namelist_preface": "damping",
"neg_test_orders" : [0, -1, -2, -3],
"pos_test_orders" : [0, -1, -2, -3]
}
],
"file_paths" : {
"mpas_src" : "/glade/work/teopb/MPAS-Model",
Expand All @@ -26,5 +14,5 @@
"init_copy_dir": "/glade/work/teopb/mpas_test_sym_dirs",
"test_output_dir": "/glade/scratch/teopb/mpas_test_dirs"
},
"verify_runs": 30
"verify_runs": 3
}

0 comments on commit fbadee9

Please sign in to comment.