Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

segmentation fault occurred

Hi all,I'm trying to get aerosol, chemical and RCP work together, so I'm using this compset (RCP4_CAM5%MOZM_CLM40%CN_CICE_POP2_RTM_SGLC_SWAV ) with a modified use_case in CESM v1.2.0. The case is working well with f19_g16 resolution, but get this error when I tried it with T31_g37 resolution. CalcWorkPerBlock: Total blocks:   290 Ice blocks:   113 IceFree blocks:   147 Land blocks:    30MCT::m_Router::initp_: GSMap indices not increasing...Will correctMCT::m_Router::initp_: RGSMap indices not increasing...Will correctMCT::m_Router::initp_: RGSMap indices not increasing...Will correctMCT::m_Router::initp_: GSMap indices not increasing...Will correctMCT::m_Router::initp_: GSMap indices not increasing...Will correctMCT::m_Router::initp_: RGSMap indices not increasing...Will correctMCT::m_Router::initp_: RGSMap indices not increasing...Will correctMCT::m_Router::initp_: GSMap indices not increasing...Will correct  forrtl: severe (174): SIGSEGV, segmentation fault occurredImage              PC                Routine            Line        Sourcecesm.exe           000000000067B8DD  mo_flbc_mp_flbc_g         825  mo_flbc.F90cesm.exe           00000000005E70A2  chem_surfvals_mp_         459  chem_surfvals.F90cesm.exe           0000000000876EF2  physpkg_mp_phys_r         909  physpkg.F90cesm.exe           000000000059EE43  cam_comp_mp_cam_r         260  cam_comp.F90cesm.exe           0000000000599A12  atm_comp_mct_mp_a         364  atm_comp_mct.F90cesm.exe           000000000052B264  ccsm_comp_mod_mp_        2513  ccsm_comp_mod.F90cesm.exe           000000000052E0EC  MAIN__                     90  ccsm_driver.F90cesm.exe           000000000050AF5C  Unknown               Unknown  Unknownlibc.so.6          000000310041ED5D  Unknown               Unknown  Unknown cesm.exe           000000000050AE59  Unknown               Unknown  UnknownI tried to modify stacksize to unlimited, but it doesn't work.How to solve this problem? Thank you so much!Regards,Pei
 

santos

Member
We are stumped. It might be informative to compare the CAM namelists between your working f19_g16 case and this case. (Maybe you can spot an obvious error, or you can post both here.)
 
Thank you so much for your help!I checked the namelist (attached here), it seems I should change the resolution of emission files too.Is there any scripts can regrid the emission inputfiles in CESM?Thanks a lot!
 

santos

Member
Hmm, this is dying in mo_flbc, but the flbc files are interpolated on the fly, so it should not be necessary to regrid them.Have you tried rebuilding and running with xmlchange DEBUG=TRUE? Or even just with "-check bounds" in the compilation flags? That might help clarify what the issue is. The file and line number listed really don't make any sense; the code there should not be doing anything different for different resolutions, as long as the flbc namelist options are the same.
 
Top