CGRID_SPCS.F problem

Hi all,

I am trying to run a simulation for 4 days. but I get bellow errors when running my script. I am using cmaq version 5.5 with gcc (GCC) 11.5.0

I don’t know what cmaq is trying to open or find in CGRID_SPCS.F

Error termination. Backtrace:At line 219 of file CGRID_SPCS.F (unit = 98)Fortran runtime error: Cannot open file ‘’: No such file or directory

Error termination. Backtrace:#0 0x7f567f75b84c in already_openat ../../../libgfortran/io/open.c:720#0 0x7f23db60884c in already_openat ../../../libgfortran/io/open.c:720#1 0x47e461 in ???#2 0x765ca0 in ???#3 0x7656ea in ???#4 0x4065cc in ???#1 0x47e461 in ???#2 0x765ca0 in ???#3 0x7656ea in ???#4 0x4065cc in ???#5 0x7f567e3067e4 in ???#6 0x40660d in ???#7 0xffffffffffffffff in ???#5 0x7f23da1b37e4 in ???#6 0x40660d in ???#7 0xffffffffffffffff in ???#0 0x7f17bce3a84c in already_openat ../../../libgfortran/io/open.c:720#1 0x47e461 in ???#2 0x765ca0 in ???#3 0x7656ea in ???#4 0x4065cc in ???#5 0x7f17bb9e57e4 in ???#6 0x40660d in ???#7 0xffffffffffffffff in ???#0 0x7f0549a1584c in already_openat ../../../libgfortran/io/open.c:720#1 0x47e461 in ???#2 0x765ca0 in ???#3 0x7656ea in ???#4 0x4065cc in ???#5 0x7f05485c07e4 in ???#6 0x40660d in ???#7 0xffffffffffffffff in ???

Primary job terminated normally, but 1 process returneda non-zero exit code. Per user-direction, the job has been aborted.

mpirun detected that one or more processes exited with non-zero status, thus causingthe job to be terminated. The first process to do so was:

Process name: [[9781,1],0]Exit code: 2

0.014u 0.115s 0:03.39 3.5% 0+0k 0+944io 5pf+0w

Looking at the CGRID_SPCS.F code in question

        dev_gc_nml = junit()                                                             
        open( file = trim( gc_namelist ), unit = dev_gc_nml,                             
 &            status = 'old', position = 'rewind' )                                      
        read( nml = GC_nml, unit = dev_gc_nml )                                          

CCTM is trying to open the GC_${MECH}.nml file (e.g., GC_cb6r5_ae7_aq.nml if you are trying to run with the cb6r5_ae7_aq mechanism) which should have been specified in the run script using this command:

setenv gc_matrix_nml ${NMLpath}/GC_$MECH.nml

The crash in that open statement on line 219 of CGRID_SPCS.F indicates that this file wasn’t properly defined in your run script.

Thank you so much for your help. my problem resolved with your guidance.