I did the following modification instead and the build is successful now.In Makefile: GENF90 := /gpfs/u/home/yunqian/cesm/cesm1_1_1_ccmi34/models/utils/pioIn pio_msg_getput_callbacks.F90.in, add:#define TYPETEXT 100#define TYPEREAL 101#define TYPEDOUBLE 102 #define TYPEINT 103
I'm able to run the model, however, the model crashes right away with the following error (/gpfs/fs1/scratch/yunqian/Kelut_addhetnuc_16_21km_log0.5um1.5um20um_Gaussian_1.5Tg/run/cesm.log.190320-140834):1: NetCDF: Numeric conversion not representable9: NetCDF: Numeric conversion not representable9: pio_support::pio_die:: myrank= -1 : ERROR:37: NetCDF: Numeric conversion not representable13: NetCDF: Numeric conversion not representable17: NetCDF: Numeric conversion not representable21: NetCDF: Numeric conversion not representable25: NetCDF: Numeric conversion not representable29: NetCDF: Numeric conversion not representable41: NetCDF: Numeric conversion not representable33: NetCDF: Numeric conversion not representable9: pionfwrite_mod::write_nfdarray_double: 250 :9: NetCDF: Numeric conversion not representable17: pio_support::pio_die:: myrank= -1 : ERROR:17: pionfwrite_mod::write_nfdarray_double: 250 :17: NetCDF: Numeric conversion not representable13: pio_support::pio_die:: myrank= -1 : ERROR:13: pionfwrite_mod::write_nfdarray_double: 250 : 13: NetCDF: Numeric conversion not representable237:Image PC Routine Line Source237:cesm.exe 0000000001B8352D Unknown Unknown Unknown237:cesm.exe 0000000001551CD1 pio_support_mp_pi 118 pio_support.F90237:cesm.exe 000000000154939E pio_utils_mp_chec 74 pio_utils.F90237:cesm.exe 00000000016604C3 pionfwrite_mod_mp 250 pionfwrite_mod.F90.in237:cesm.exe 000000000162CFFC piodarray_mp_writ 650 piodarray.F90.in237:cesm.exe 000000000162B09C piodarray_mp_writ 223 piodarray.F90.in237:cesm.exe 0000000001630213 piodarray_mp_writ 293 piodarray.F90.in237:cesm.exe 00000000004B2B02 cam_history_mp_du 4334 cam_history.F90237:cesm.exe 00000000004944D0 cam_history_mp_ws 4651 cam_history.F90237:cesm.exe 0000000000488D1C cam_comp_mp_cam_r 379 cam_comp.F90237:cesm.exe 0000000000479AE7 atm_comp_mct_mp_a 541 atm_comp_mct.F90237:cesm.exe 000000000040A756 ccsm_comp_mod_mp_ 3485 ccsm_comp_mod.F90237:cesm.exe 00000000004258C8 MAIN__ 91 ccsm_driver.F90237:cesm.exe 0000000000407EDE Unknown Unknown Unknown237:libc-2.19.so 00002AAAAC60EB25 __libc_start_main Unknown Unknown237:cesm.exe 0000000000407DE9 Unknown Unknown Unknown237:MPT ERROR: Rank 237(g:237) is aborting with error code 1.237: Process ID: 37890, Host: r5i2n17, Program: /gpfs/fs1/scratch/yunqian/Kelut_addhetnuc_16_21km_log5um_Gaussian_15Tg/bld/cesm.exe237: MPT Version: HPE MPT 2.19 12/07/18 05:31:15 Thanks,