Build CCTM CMAQv5.4 Error

Hi all,
I’m trying to build CCTM in CMAQv5.4 using gcc and gfortran version 9.3.1 and getting the following error:

L/home/hoangnghiem/CMAQ_5.4/CMAQ_INSTALL/lib/x86_64/gcc/ioapi/lib -lioapi -L/home/hoangnghiem/CMAQ_5.4/CMAQ_INSTALL/lib/x86_64/gcc/netcdff/lib -lnetcdff -L/home/hoangnghiem/CMAQ_5.4/CMAQ_INSTALL/lib/x86_64/gcc/netcdf/lib -lnetcdf -o CCTM_v54.exe
/usr/bin/ld: /home/hoangnghiem/CMAQ_5.4/CMAQ_INSTALL/lib/x86_64/gcc/ioapi/lib/libioapi.a(name2fid.o): in function name2fid_': name2fid.f:(.text+0x17): undefined reference to GOMP_critical_name_start’
/usr/bin/ld: name2fid.f:(.text+0x2b): undefined reference to GOMP_critical_name_end' /usr/bin/ld: name2fid.f:(.text+0x9f): undefined reference to GOMP_critical_name_end’

The bldit.cctm.log is attached here.

Please help me overcome the error. Thank you very much.

Your CMAQ build-flags need to be compatible with the I/O API build-flags; in this case, you’re probably missing an -fopenmp

Thank you very much for your help. I have built cctm success With -fopenm.