CMAQ 5.3.1 issue - emissions files with multiple layers and 1km resolution

Hi

So basically, I am doing a cmaq run across Europe at 1km resolution of which emissions files have been processed in SMOKE for this process. All the emissions file with vertical layers below 2 layers are accepted and runs in CCTM with an error the larger files with more than 2 vertical layers are the issues causing segmentation error.
The resolution for CMAQ is COL 681 ROW 500.

I am not entirely sure what the issues is but it seems to me that there is a limitation in CCTM. Hence the segmentation error. Please how can this be resolved using the same COL 681 and ROW 500 cells with more vertical layers emission files?

The error is below:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x2B70F8FAB6D7
#1 0x2B70F8FABD1E
#2 0x2B70F9C643FF
#3 0x9FE84F in getNCvx_float_float at putget.c:4097
#4 0xA03536 in NC3_get_vara at putget.c:5210
#5 0x9F0FE2 in NC_get_vara at var.c:172
#6 0x9F3C1E in nc_get_vara_float at var.c:1776
#7 0x9EC0D9 in c_ncvgt at fort-v2compat.c:1286
#8 0x991D72 in rdvars_
#9 0x9845AD in xtract3_
#10 0x4CD661 in _centralized_io_module_MOD_retrieve_time_dep_gridded_data at centralized_io_module.F:2618
#11 0x4E2788 in centralized_io_module_MOD_centralized_io_init at centralized_io_module.F:3393
#12 0x6DCA14 in cmaq_driver
at driver.F:489
#13 0x6DBE4A in MAIN
at cmaq_main.F:96

===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 132144 RUNNING AT headnode2
= EXIT CODE: 139
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES

YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions

Thanks

John

See https://cjcoats.github.io/ioapi/AVAIL.html#medium:
There are three different binary-incompatible “memory models” available for 64-bit x86 Linux:

  • small: At most 2 GB each for static data (COMMONs, etc.), ALLOCATEd arrays, program-stack, and program machine-code.
  • medium: Program machine-code at most 2 GB; no restrictions on data (large arrays, large stack, large data are OK).
  • large: No restrictions on code or data.

You probably need to re-compile everything (starting with netCDF, then I/O API, then CCTM) with medium memory model – using compile-flag -mcmodel=medium