I am running a few hundred cases for the single column compset SCAM for cesm2.1.0 to create an emulator, and I'm trying to avoid having to build each case separately. Since I am only perturbing namelist parameters each build should be identical. I have successfully built and ran a base case called EM_BASE_CASE, and then for each of my cases, after setting up the case instead of using ./case.build I have :
xmlchange EXEROOT=../cesm2.1.0-out/EM_BASE_CASE/bld
xmlchange BUILD_COMPLETE=TRUE
However, this gives me the following error in the log file:
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 122 :
PNETCDF not enabled in the build
Image PC Routine Line Source
cesm.exe 00000000025E1596 Unknown Unknown Unknown
cesm.exe 000000000246758A pio_support_mp_pi 118 pio_support.F90
cesm.exe 0000000002465BEB pio_utils_mp_bad_ 97 pio_utils.F90
cesm.exe 00000000024E37B8 ionf_mod_mp_creat 122 ionf_mod.F90
cesm.exe 0000000002458F88 piolib_mod_mp_cre 2663 piolib_mod.F90
cesm.exe 00000000006C4F77 cam_pio_utils_mp_ 1112 cam_pio_utils.F90
cesm.exe 0000000000689552 cam_history_mp_h_ 3801 cam_history.F90
cesm.exe 0000000000686256 cam_history_mp_ws 4859 cam_history.F90
cesm.exe 00000000006712DA cam_comp_mp_cam_r 388 cam_comp.F90
cesm.exe 0000000000662F6C atm_comp_mct_mp_a 441 atm_comp_mct.F90
cesm.exe 0000000000597856 component_mod_mp_ 728 component_mod.F90
cesm.exe 00000000005744CE cime_comp_mod_mp_ 3436 cime_comp_mod.F90
cesm.exe 0000000000597417 MAIN__ 125 cime_driver.F90
cesm.exe 000000000056E92E Unknown Unknown Unknown
libc-2.17.so 00007F233975E555 __libc_start_main Unknown Unknown
cesm.exe 000000000056E829 Unknown Unknown Unknown
MPI_Abort: error code = 1
When I build the case in my script instead, then the model runs successfully, so the problem should not be with anything else.
I would appreciate any insight into troubleshooting this. In theory I can build the model each time, but it is quite an inefficient use of computing resources.
xmlchange EXEROOT=../cesm2.1.0-out/EM_BASE_CASE/bld
xmlchange BUILD_COMPLETE=TRUE
However, this gives me the following error in the log file:
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 122 :
PNETCDF not enabled in the build
Image PC Routine Line Source
cesm.exe 00000000025E1596 Unknown Unknown Unknown
cesm.exe 000000000246758A pio_support_mp_pi 118 pio_support.F90
cesm.exe 0000000002465BEB pio_utils_mp_bad_ 97 pio_utils.F90
cesm.exe 00000000024E37B8 ionf_mod_mp_creat 122 ionf_mod.F90
cesm.exe 0000000002458F88 piolib_mod_mp_cre 2663 piolib_mod.F90
cesm.exe 00000000006C4F77 cam_pio_utils_mp_ 1112 cam_pio_utils.F90
cesm.exe 0000000000689552 cam_history_mp_h_ 3801 cam_history.F90
cesm.exe 0000000000686256 cam_history_mp_ws 4859 cam_history.F90
cesm.exe 00000000006712DA cam_comp_mp_cam_r 388 cam_comp.F90
cesm.exe 0000000000662F6C atm_comp_mct_mp_a 441 atm_comp_mct.F90
cesm.exe 0000000000597856 component_mod_mp_ 728 component_mod.F90
cesm.exe 00000000005744CE cime_comp_mod_mp_ 3436 cime_comp_mod.F90
cesm.exe 0000000000597417 MAIN__ 125 cime_driver.F90
cesm.exe 000000000056E92E Unknown Unknown Unknown
libc-2.17.so 00007F233975E555 __libc_start_main Unknown Unknown
cesm.exe 000000000056E829 Unknown Unknown Unknown
MPI_Abort: error code = 1
When I build the case in my script instead, then the model runs successfully, so the problem should not be with anything else.
I would appreciate any insight into troubleshooting this. In theory I can build the model each time, but it is quite an inefficient use of computing resources.