NOAA-EMC / RTOFS_GLO

0 stars 1 forks source link

Fix the global_var, polar_var, hycom_var script logic issue while cold start (bugzilla #1137) #16

Open DanIredell-NOAA opened 2 years ago

DanIredell-NOAA commented 2 years ago

http://www2.spa.ncep.noaa.gov/bugzilla/show_bug.cgi?id=1137

Please address the exrtofs_glo_ncoda_glbl_var.sh, exrtofs_glo_ncoda_ploar_var.sh script logic issue while cold start at next upgrade.

When tested the global_var, polar_var, hycom_var job without restart files, the jobs will cold start but job failed since the cmdfile.cpin was not created, due to script logic issue.

In scripts/exrtofs_glo_ncoda_glbl_var.sh, exrtofs_glo_ncoda_ploar_var.sh, and exrtofs_glo_ncoda_hycom_var.sh scripts, do not proceed mpirun cmdfile.cpin if cold start, to avoid job fails due to cmdfile.cpin is not created.

DanIredell-NOAA commented 1 year ago

This has been corrected in RTOFS v2.3.0 with modifications to the 3 scripts: exrtofs_glo_ncoda_glbl_var.sh exrtofs_glo_ncoda_hycom_var.sh exrtofs_glo_ncoda_polar_var.sh

The logic will now only run cmdfile.cpin on warm starts. It bypasses this step on cold starts. A warning message is printed out when this occurs. Currently the bugzilla is still open so this will be left open until the next upgrade and then can close both.