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
167 stars 160 forks source link

[QUESTION]How to run multiple CO2 simulations? #1349

Closed helpyuan closed 2 years ago

helpyuan commented 2 years ago

Ask a question about GEOS-Chem:

Hi all,

I want to use multiple scale factors to simulate multiple CO2 concentrations.

In general, if I run a CO2 simulation, I only need to configure some inventories (such as fossil fuel, biomass burning, biosphere exchange, ocean exchange and so on) in the HEMCO_Config.rc.

And now, I want to run 20 CO2 simulations (named CO2_01, CO2_02, ..., CO2_20) with 20 different biosphere exchange scale factors at a time.

Can this be implemented in GEOS Chem v13.3.2? If feasible, which file do I need to modify?

I appreciate any help.

yantosca commented 2 years ago

Thanks for writing @helpyuan. I think it would be simpler to set up 20 run directories for the CO2 simulation and then change the scale factor in each run directory. Then you could run 20 simulations independently of each other.

For example, if you have 40 cores on your computational node, you can set up each job to run with 2 cores (i.e. export OMP_NUM_THREADS=2) and then submit 20 jobs simultaneously.

yantosca commented 2 years ago

Also tagging @Jourdan-He

helpyuan commented 2 years ago

Thanks for replying @yantosca ! I have already done so.

yantosca commented 2 years ago

No problem @helpyuan! I'll close out this issue now. Feel free to create a new issue if you are still having problems.