CCTM build error


#1

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

x_ppm.F:261.132:

_W0, DRCN_E)
1
Error: There is no specific subroutine for the generic ‘noop_comm’ at (1)
x_ppm.F:262.132:

_W1, DRCN_W)
1
Error: There is no specific subroutine for the generic ‘noop_comm’ at (1)
make: *** [x_ppm.o] Error 1
ERROR while running make command

Online it looks like this error occurs when the arguments passed into a function are not of the correct type, e.g. an array where there should be a scalar. I found the problematic SUBST_COMM function in x_ppm.F in $CMAQ_REPO/CCTM/src/hadv/yamo, but am not sure how or if I should edit it.

Or, do you think this could be an issue with my compiler?

Thank you,
Elyse


#2

The serial build is broken in v5.2.1 (both gcc and intel compilers). It has been fixed in v5.3 beta, which is available on GitHub. Alternatively, compile in parallel by uncommenting the line “set ParOpt” in the build script.