geoschem / GCHP

The "superproject" wrapper repository for GCHP, the high-performance instance of the GEOS-Chem chemical-transport model.
https://gchp.readthedocs.io
Other
23 stars 25 forks source link

[BUG/ISSUE] GCHP 14.1.0 compilation error #286

Closed ShreyaSharmaMIT closed 1 year ago

ShreyaSharmaMIT commented 1 year ago

What institution are you from?

Massachusetts Institute of Technology

Description of the problem

There is an error when I try to cmake the code directory. The screenshot is attached.

Screenshot 2023-02-10 at 5 37 45 PM

The cmake and make log files are attached: log.cmake.txt make log.txt

GEOS-Chem version

14.1.0

Software versions

lizziel commented 1 year ago

Hi Shreya,

The error you are seeing is because it is trying to build ExtData2G which is the next generation of ExtData (input component of GCHP). It should be off by default, set in CAP.rc as USE_EXTDATA2G: .FALSE.. This should already be set for you if you created a run directory from the 14.1.0 source code. Did you do that?

I see that you are using ESMF 8.0.0. You may run into problems with this since I think the latest MAPL in the model requires 8.1+. ReadTheDocs unfortunately has not been updated to reflect that.

NOTE: We are now asking users to identify themselves and their institutions when requesting help. Please do this in the future. Thanks!

lizziel commented 1 year ago

Hi @ShreyaSharmaMIT, were you able to resolve this issue?

Twize commented 1 year ago

@ShreyaSharmaMIT I encountered a similar issue when compiling GCHP v14.1.0 with ESMF v8.0.1. Using a newer version of ESMF (e.g. v8.3.0) enabled me to get past this.

yantosca commented 1 year ago

@ShreyaSharmaMIT @Twize: Yes, the newer MAPL library in GCHP 14.1.0+ requires at least ESMF 8.1.0+. We ran into this as one day all of our GCHP integration tests and cloud benchmarks were failing. You can use ESMF 8.3.0 or 8.4.0 and that should be OK.

lizziel commented 1 year ago

ReadTheDocs is updated in 14.1.1 to reflect that GCHP now requires ESMF 8.1+.