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
164 stars 156 forks source link

[QUESTION]How to choose the code version when download gcclassic and geochem? #1559

Closed pku-tjh closed 1 year ago

pku-tjh commented 1 year ago

Ask a question about GEOS-Chem:

Hi, everyone. I want to ask how to use git clone to get the older version GCClassic and GEOSChem? I want to get GCClassic 13.1.0 and GEOSChem 12.9.0. But I used git clone --recurse-submodules https://github.com/geoschem/GCClassic.git, I will get the newest GCClassic. Thanks for helps!

lizziel commented 1 year ago

Hi @pku-tjh. After cloning GC-Classic you can checkout 13.1.0 using the following commands:

git checkout tags/13.1.0
git submodule update --init --recursive

Version 12.9.0 pre-dates the move to the GC-Classic wrapper repository. To get GEOS-Chem 12.9.0 you should clone only the geos-chem repository and then checkout the 12.9.0 tag.

git clone https://github.com/geoschem/geos-chem.git code.gcc_12.9.0
cd code.gcc_12.9.0
git checkout tags/12.9.0
pku-tjh commented 1 year ago

Thanks for your detailed reply, I am so grateful!