Closed cbutenhoff closed 3 weeks ago
Thanks @cbutenhoff for reporting this. I will update ReadTheDocs to specify we currently only support up to GCC 12. As discussed in https://github.com/geoschem/GCHP/issues/326, NASA GMAO has reported that GCC 13 does not work well with their libraries, including MAPL. This will change when we update to MAPL3 in GCHP v15.0 next year.
Thanks @cbutenhoff and @lizziel. I suspect it is that the GCC 13 might have deprecated/removed some type of feature that is still in use, and that is the error. The newer compilers skew towards the newer C-language and Fortran-language standards, which can make backwards compatibility challenging.
Docs are now updated in GCHP branch docs/dev which will be merged into 14.5.0.
Thanks for confirming my suspicion @lizziel and @yantosca. I missed that similar report in the previous issue. I'll go back to the earlier GCC version.
Your name
Chris Butenhoff
Your affiliation
Portland State University
What happened? What did you expect to happen?
When compiling GCHP 14.3.1 with the GNU compilers v13.2.0, I get the following compilation error:
What are the steps to reproduce the bug?
Please attach any relevant configuration and log files.
compile.log CMakeCache.txt
What GCHP version were you using?
14.3.1
What environment were you running GCHP on?
Local cluster
What compiler and version were you using?
gcc 13.2.0
What MPI library and version were you using?
openmpi 4.1.4
Will you be addressing this bug yourself?
No
Additional information
Our cluster OS and packages were recently updated. Before the upgrade I was able to successfully compile GCHP 14.3.1 with gcc-12.1.0 so I suspect it might be a compiler bug.