I have tried multiple versions of WRF-Chem and using only 1 domain as well but it is unlikely to be a memory or version related issue. However, I suspect it could be related to this one modification I made as described below:
When I run WRF-Chem without any modifications to the source code and with the namelist attached previously, I encounter a segmentation fault at the real.exe stage itself with the traceback specifying the following error message (rsl.error.0000 attached):
#3 0x2683319 in __module_input_chem_data_MOD_make_chem_profile
at /beegfs/cair/kk21acq/wrfchem_new/WRF/chem/module_input_chem_data.f90:847
Based on a previous discussion in this forum (
https://groups.google.com/a/ucar.edu/g/wrf-chem/c/m9xmwfl_iwY/m/HaPWPHLVAgAJ) the fault seems to be related to no profile mapping being defined for chem_opt=202 as is evident from the lines 391-392 in module_input_chem_data.F:
case (MOZART_MOSAIC_4BIN_AQ_KPP)
call wrf_debug("setup_profile_maps: nothing done for mozart_mosaic_4bin_aq_kpp")
To avoid encountering this fault I made the following changes to module_input_chem_data.F based on the same discussion thread (modified module_input_chem_data.F attached):
798 iref(:) = 7 !default value
799 iref(1:41) = (/12,19,2,2,1,3,4,9,8,5,5,32,6,6,6,30,30,10,26,13,11,6,6, &
800 14,15,15,23,23,32,16,23,31,17,23,23,23,23,23,7,28,29/)
While the above changes result in resolution of segmentation fault and model simulation starts smoothly, I suspect that this modification could somehow be the cause of the block type pattern I am observing. Another reason to suspect this is when I try the RACM2 mechanism (chem_opt=109) with the above modifications in place, I do not observe the block type patterns anymore.
Thus, I was wondering if there is a way to avoid segmentation faults due without making the above modifications to module_input_chem_data.F or if the modifications made need to be altered to suit the 202 chemistry option.
Thank you
Krishna