geoschem / geos-chem

GEOS-Chem "Science Codebase" repository. Contains GEOS-Chem science routines, run directory generation scripts, and interface code. This repository is used as a submodule within the GCClassic and GCHP wrappers, as well as in other modeling contexts (external ESMs).
http://geos-chem.org
Other
170 stars 166 forks source link

An issue about cmake #2585

Open 010919-guo opened 3 days ago

010919-guo commented 3 days ago

Your name

Zhongling Guo

Your affiliation

Beijing Normal University

What happened? What did you expect to happen?

Hi there, I was trying configuring build of Gcclassic-14.5.0 on a local cluster. Following the steps on the official quickstart-guide, there is a command "cmake ../CodeDir -DRUNDIR..“. However, there isn't a CmakeLists.txt under my CodeDir. I find a CmakeLists.txt under geos-chem-14.5.0 folder, so I enter a command "cmake ../../ -DRUNDIR..". And there‘s an error report as below: 1732262443666 1732262480103

What are the steps to reproduce the bug?

Hi there, I was trying configuring build of Gcclassic-14.5.0 on a local cluster. Following the steps on the official quickstart-guide, there is a command "cmake ../CodeDir -DRUNDIR..“. However, there isn't a CmakeLists.txt under my CodeDir. I find a CmakeLists.txt under geos-chem-14.5.0 folder, so I enter a command "cmake ../../ -DRUNDIR..". And there‘s an error report as below: 1732262443666 1732262480103

Please attach any relevant configuration and log files.

No response

What GEOS-Chem version were you using?

14.5.0

What environment were you running GEOS-Chem on?

Local cluster

What compiler and version were you using?

icc version 2021.5.0(gcc version 8.4.0 compatibility)

Will you be addressing this bug yourself?

Yes, but I will need some help

In what configuration were you running GEOS-Chem?

GCClassic

What simulation were you running?

Full chemistry

As what resolution were you running GEOS-Chem?

4x5

What meterology fields did you use?

MERRA-2

Additional information

No response

yantosca commented 3 days ago

Thanks for writing @010919-guo. Are you issuing the command

$ cmake ../CodeDir -DRUNDIR..“

from within the run directory's build/ folder? That could be the problem.