EarthWorksOrg / EarthWorks

Other
3 stars 2 forks source link

Bring in changes cam_dev physics and to use gh1 machine #50

Closed gdicker1 closed 3 months ago

gdicker1 commented 3 months ago

See Sub-PRs: EWOrg/ccs_config_cesm #20, EWOrg/CAM #16 -> sub PR EWOrg/MPAS-Model #3

These changes are best tested by attempting a run of the "F2000dev" compset (similar instructions to running F2000climo).

Closes #46

dazlich commented 3 months ago

I tried it in a coupled run (compset=2000_CAM%DEV_CLM50%SP_MPASSI_MPASO_MOSART_SGLC_SWAV) at 120km and it fails.

dec1784.hsn.de.hpc.ucar.edu 161: forrtl: severe (71): integer divide by zero dec1784.hsn.de.hpc.ucar.edu 161: Image PC Routine Line Source dec1784.hsn.de.hpc.ucar.edu 161: libpthread-2.31.s 00001461D27E48C0 Unknown Unknown Unknown dec1784.hsn.de.hpc.ucar.edu 161: cesm.exe 0000000000735F60 radiation_mp_radi 299 radiation.F90 dec1784.hsn.de.hpc.ucar.edu 161: cesm.exe 000000000072C4A6 radiation_mp_radi 891 radiation.F90 dec1784.hsn.de.hpc.ucar.edu 161: cesm.exe 00000000006E4E05 physpkg_mp_tphysb 2879 physpkg.F90 dec1784.hsn.de.hpc.ucar.edu 161: cesm.exe 00000000006D686D physpkg_mp_phys_r 1188 physpkg.F90 dec1784.hsn.de.hpc.ucar.edu 161: cesm.exe 00000000005970A6 cam_comp_mp_cam_r 260 cam_comp.F90 dec1784.hsn.de.hpc.ucar.edu 161: cesm.exe 000000000057E629 atm_comp_nuopc_mp 909 atm_comp_nuopc.F90

dazlich commented 3 months ago

More detail: This is the line: radiation_do = nstep == 0 .or. iradsw == 1 & .or. (mod(nstep-1,iradsw) == 0 .and. nstep /= 1) & .or. nstep <= irad_always

It appears iradsw is set to 0, causing the divide by zero in the mod()

dazlich commented 3 months ago

I think with recent changes to some of the time step and coupling defaults I had some old values in my script. CHAOS2000 now runs with the -phys cam_dev specified in CAM_CONFIG_OPTS.

I am happy again and this PR looks good.

gdicker1 commented 3 months ago

I think with recent changes to some of the time step and coupling defaults I had some old values in my script. CHAOS2000 now runs with the -phys cam_dev specified in CAM_CONFIG_OPTS.

I am happy again and this PR looks good.

Thanks for checking this and providing the context. They might be some good hints later down the line!

gdicker1 commented 3 months ago

To make some GH1 testing easier, I'm going to move ahead and merge these changes. If the GH1 entry has issues, we can fix them in a separate PR.