Difference between revisions of "GCHP Main Page"
Line 26: | Line 26: | ||
*[[GEOS-Chem_High_Performance_Working_Group|GCHP Working Group]] | *[[GEOS-Chem_High_Performance_Working_Group|GCHP Working Group]] | ||
*[https://github.com/geoschem/gchp/issues GCHP GitHub Issue Tracker] | *[https://github.com/geoschem/gchp/issues GCHP GitHub Issue Tracker] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== GCHP Cubed Sphere Grid Geometry == | == GCHP Cubed Sphere Grid Geometry == | ||
Line 44: | Line 36: | ||
*[http://acmg.seas.harvard.edu/geos/cubed_sphere/CubeSphere_comparision.html Comparison of different cubed sphere map projections] | *[http://acmg.seas.harvard.edu/geos/cubed_sphere/CubeSphere_comparision.html Comparison of different cubed sphere map projections] | ||
*[http://acmg.seas.harvard.edu/geos/cubed_sphere/CubeSphere_stretch.html Creating a "stretched" cubed sphere to get fine resolution in a selected region of the world ] | *[http://acmg.seas.harvard.edu/geos/cubed_sphere/CubeSphere_stretch.html Creating a "stretched" cubed sphere to get fine resolution in a selected region of the world ] | ||
+ | |||
+ | == Frequently Asked Questions == | ||
+ | |||
+ | '''''I do not have a high performance compute cluster. Can I run GCHP?''''' | ||
+ | <blockquote>Yes, you can run GCHP on as little as a single node as long as there are at least 6 cores available. We are working to make serial runs on a single core possible in the future.</blockquote> | ||
+ | |||
+ | '''''Is GCHP only for high resolution runs?''''' | ||
+ | <blockquote>No! You can run GCHP at the cubed-sphere grid equivalent of 4x5 (c24) and 2x2.5 (c48). The GCHP standard simulation run directory is set up for c48 by default starting in GCHP v11-02e but can easily be changed to whatever resolution you would like to run at by updating the <tt>runConfig.sh</tt> bash script in the run directory. Unlike GEOS-Chem classic, a single GCHP run directory can be used for any run resolution.</blockquote> | ||
+ | |||
+ | '''''What are the different cubed-sphere resolutions and how do they compare to lat/lon grids?''''' | ||
+ | |||
+ | <blockquote>Below we summarize the standard resolution specifications and the recommended timesteps (based on the timesteps used in GEOS-Chem "classic"). | ||
+ | |||
+ | {| border=1 cellspacing=0 cellpadding=5 | ||
+ | |-bgcolor="#CCCCCC" | ||
+ | !Standard resolution specification | ||
+ | !Approximate CS equivalent(s) | ||
+ | !Suggested timestep (s) | ||
+ | |- | ||
+ | |[[GEOS-Chem_horizontal_grids#GMAO_4_x_5_grid|4° x 5°]] | ||
+ | |C24 | ||
+ | |1200 | ||
+ | |- | ||
+ | |[[GEOS-Chem_horizontal_grids#GMAO_2_x_2.5_grid|2° x 2.5°]] | ||
+ | |C48, C45 | ||
+ | |900 | ||
+ | |- | ||
+ | |[[GEOS-Chem_horizontal_grids#GMAO_1_x_1.25_grid|1° x 1.25°]] | ||
+ | |C96, C90 | ||
+ | |600 | ||
+ | |- | ||
+ | |[[GEOS-Chem_horizontal_grids#GMAO_0.5_x_0.625_grid|0.5° x 0.625°]]<sup>1</sup> | ||
+ | |C192, C180 | ||
+ | |300 | ||
+ | |- | ||
+ | |[[GEOS-Chem_horizontal_grids#GMAO_0.25_x_0.3125_grid|0.25° x 0.3125°]]<sup>2</sup> | ||
+ | |C384, C360 | ||
+ | |300 | ||
+ | |- | ||
+ | |0.125° x 0.15625° | ||
+ | |C720<sup>3</sup> | ||
+ | |180 | ||
+ | |} | ||
+ | |||
+ | <sup>1</sup> Native resolution of [[MERRA-2]] product from GMAO<br> | ||
+ | <sup>2</sup> Native resolution of [[GEOS-FP]] product from GMAO<br> | ||
+ | <sup>3</sup> Native cubed-sphere resolution of [https://geos5.org GEOS-5] | ||
+ | </blockquote> | ||
+ | |||
+ | '''''I changed my model resolution and my run completed successfully. Are there any scientific considerations I should be aware of before drawing conclusions from my results?''''' | ||
+ | <blockquote>Yes, there are several resolution-dependent settings or inputs that will result in degraded output quality if the model resolution increases from the default c24. These include lightning scale factors, dust parameterization, regridded cloud variables, and use of the Voronoi timezones. The GCHP Development Team is working to resolve these dependencies. Until then, please contact the GEOS-Chem Support Team for more information.</blockquote> | ||
+ | |||
+ | '''''I don't have met fields at the lat/lon equivalent of the cubed-sphere resolution I want to run at. What should I use?''''' | ||
+ | <blockquote>As a general rule of thumb you may run GCHP at cubed-sphere resolutions up to a factor of two larger than your input met resolution equivalent. For example, you could use 2x2.5 input met for both c24 and c48 runs. GCHP will generally run successfully with even higher ratios, such as 2x2.5 input met for c180. However, in these cases you should use caution in your interpretation of results. In general it is always best to use the finest met resolution available and 0.25x0.3125 is the default input met resolution starting in v11-02d. See the [[http://wiki.seas.harvard.edu/geos-chem/index.php/Downloading_GEOS-Chem_source_code_and_data|Downloading Shared Data Directories wiki page]] for instructions on how to access fine resolution meteorology files.</blockquote> | ||
+ | |||
+ | '''''Should I change my simulation timestep if I run at very high resolution?''''' | ||
+ | <blockquote>You may increase your timestep to improve speed but this is not required. A 30 minute dynamics timestep and 60 minute chemistry timestep may be adequate for your purposes. We recommend that you never ''reduce'' your timestep from the default of 10 minutes for dynamics and 20 minutes for chemistry/emissions.</blockquote> | ||
+ | |||
+ | '''''How can I get a restart file for a different cubed-sphere resolution?''''' | ||
+ | <blockquote>All GCHP run directories come with symbolic links to five resolutions of restart files stored in ExtData/SPC_RESTARTS: c24, c48, c96, c180, and c360. You can generate restart files for other resolutions by regridding an existing restart file using the [https://bitbucket.org/sdeastham/csregridtool Fortran tool csregridtool for created by Sebastian Eastham]. </blockquote> | ||
+ | |||
+ | git clone https://bitbucket.org/sdeastham/csregridtool | ||
+ | |||
+ | <blockquote>Python regridding tools are also available and will be included in the gcpy package currently in development. Contact GCST member [[GEOS-Chem_HP#GCHP_Core_Development_Team|Lizzie Lundgren]] for more information.</blockquote> | ||
+ | |||
+ | '''''I can now compile and run GCHP. Do you have tips that might help me optimize my use of GCHP?''''' | ||
+ | |||
+ | Below are several time-saving tips to keep in mind when you start regularly using GCHP. This by no means an exhaustive list. Please submit your own to GCST if you think something should be included! | ||
+ | |||
+ | #Only recompile code you changed. Use <tt>make help</tt> to see your options for compiling. | ||
+ | #Changing simulations does not require recompilation. You can copy the <tt>geos</tt> executable to different run directories for the same code version. | ||
+ | #<tt>runConfig.sh</tt> overwrites settings in other config files. Beware! | ||
+ | #Do not simply run the executable; use or adapt run scripts provided. Using <tt>gchp.local.run</tt> to run from the command line with 6 cores for quick tests. | ||
+ | #Run-time MAPL/ESMF errors are nearly always from bad config. Check your run directory <tt>*.rc</tt> files and <tt>runConfig.sh</tt>. | ||
+ | #Errors in CAP usually inidicate bad simulation dates; check runConfig.sh. | ||
+ | #ExtData errors indicate a problem in input. Set <tt>MAPL_DEBUG_LEVEL</tt> to 20 in <tt>runConfig.sh</tt> to maximize ExtData debug prints to the log file. | ||
+ | #MAPL History error is problem with diagnostics; check <tt>HISTORY.rc</tt>. | ||
+ | #Search for “making install” in file <tt>compile.log</tt> to find MAPL build errors. | ||
+ | #Create a [https://github.com/geoschem/gchp/issues GCHP GitHub issue] if you think you need to edit MAPL or ESMF. | ||
---------------------------- | ---------------------------- | ||
'''''[[Main_Page|GEOS-Chem Main Page]]''''' | '''''[[Main_Page|GEOS-Chem Main Page]]''''' |
Revision as of 17:38, 20 October 2020
Contents
About High Performance GEOS-Chem
GEOS-Chem with the high performance option (GCHP) is the next generation of GEOS-Chem. It uses a distributed memory capability designed to enable efficient scaling across many cores, and thus enable finer resolution simulations. GCHP has the advantage of using a cubed sphere geometry that enables more accurate transport and eliminates the polar singularity inherent to lat-lon grids. With these advances you can still run the model on a single machine at coarse resolution if you choose to do so.
If you are working on a project using GCHP, please add your name and project description to the GCHP projects list. Also help the GCHP Working Group pool performance information across systems by contributing your GCHP run information on the GCHP Timing Tests page.
If you would like to stay informed of GCHP developments, please join the GEOS-Chem High Performance Working Group mailing list and subscribe to GCHP notifications on GitHub. If you would like receive help or participate in conversations about GCHP, please use the GCHP GitHub issue tracker. You may also contact the GEOS-Chem Support Team if you have questions or need assistance, or reach out to the GCHP Working Group Co-Chairs.
GCHP Wiki Guide
Getting Started
Version Information
Validation and Performance
- Benchmarks
- Performance Information (add your run info here!)
- Validation of early versions
Community
GCHP Cubed Sphere Grid Geometry
GCHP uses a cubed sphere grid rather than the traditional lat-lon grid used in GEOS-Chem Classic. While regular lat-lon grids are typically designated as ΔLat ⨉ ΔLon (e.g. 4⨉5), cubed sphere grids are designated by the side-length of the cube. In GCHP we specify this as CX (e.g. C24 or C180). The simple rule of thumb for determining the roughly equivalent lat/lon for a given cubed sphere resolution is to divide the side length by 90. Using this rule you can quickly match C24 with 4x5, C90 with 1 degree, C360 with quarter degree, and so on.
Harvard graduate student Jiawei Zhuang created the following interactive illustrations demonstrating key features of the GCHP cubed sphere geometry:
- Step-by-step illustration on how to create a cubed sphere grid
- Comparison of different cubed sphere map projections
- Creating a "stretched" cubed sphere to get fine resolution in a selected region of the world
Frequently Asked Questions
I do not have a high performance compute cluster. Can I run GCHP?
Yes, you can run GCHP on as little as a single node as long as there are at least 6 cores available. We are working to make serial runs on a single core possible in the future.
Is GCHP only for high resolution runs?
No! You can run GCHP at the cubed-sphere grid equivalent of 4x5 (c24) and 2x2.5 (c48). The GCHP standard simulation run directory is set up for c48 by default starting in GCHP v11-02e but can easily be changed to whatever resolution you would like to run at by updating the runConfig.sh bash script in the run directory. Unlike GEOS-Chem classic, a single GCHP run directory can be used for any run resolution.
What are the different cubed-sphere resolutions and how do they compare to lat/lon grids?
Below we summarize the standard resolution specifications and the recommended timesteps (based on the timesteps used in GEOS-Chem "classic").
Standard resolution specification Approximate CS equivalent(s) Suggested timestep (s) 4° x 5° C24 1200 2° x 2.5° C48, C45 900 1° x 1.25° C96, C90 600 0.5° x 0.625°1 C192, C180 300 0.25° x 0.3125°2 C384, C360 300 0.125° x 0.15625° C7203 180 1 Native resolution of MERRA-2 product from GMAO
2 Native resolution of GEOS-FP product from GMAO
3 Native cubed-sphere resolution of GEOS-5
I changed my model resolution and my run completed successfully. Are there any scientific considerations I should be aware of before drawing conclusions from my results?
Yes, there are several resolution-dependent settings or inputs that will result in degraded output quality if the model resolution increases from the default c24. These include lightning scale factors, dust parameterization, regridded cloud variables, and use of the Voronoi timezones. The GCHP Development Team is working to resolve these dependencies. Until then, please contact the GEOS-Chem Support Team for more information.
I don't have met fields at the lat/lon equivalent of the cubed-sphere resolution I want to run at. What should I use?
As a general rule of thumb you may run GCHP at cubed-sphere resolutions up to a factor of two larger than your input met resolution equivalent. For example, you could use 2x2.5 input met for both c24 and c48 runs. GCHP will generally run successfully with even higher ratios, such as 2x2.5 input met for c180. However, in these cases you should use caution in your interpretation of results. In general it is always best to use the finest met resolution available and 0.25x0.3125 is the default input met resolution starting in v11-02d. See the [Shared Data Directories wiki page] for instructions on how to access fine resolution meteorology files.
Should I change my simulation timestep if I run at very high resolution?
You may increase your timestep to improve speed but this is not required. A 30 minute dynamics timestep and 60 minute chemistry timestep may be adequate for your purposes. We recommend that you never reduce your timestep from the default of 10 minutes for dynamics and 20 minutes for chemistry/emissions.
How can I get a restart file for a different cubed-sphere resolution?
All GCHP run directories come with symbolic links to five resolutions of restart files stored in ExtData/SPC_RESTARTS: c24, c48, c96, c180, and c360. You can generate restart files for other resolutions by regridding an existing restart file using the Fortran tool csregridtool for created by Sebastian Eastham.
git clone https://bitbucket.org/sdeastham/csregridtool
Python regridding tools are also available and will be included in the gcpy package currently in development. Contact GCST member Lizzie Lundgren for more information.
I can now compile and run GCHP. Do you have tips that might help me optimize my use of GCHP?
Below are several time-saving tips to keep in mind when you start regularly using GCHP. This by no means an exhaustive list. Please submit your own to GCST if you think something should be included!
- Only recompile code you changed. Use make help to see your options for compiling.
- Changing simulations does not require recompilation. You can copy the geos executable to different run directories for the same code version.
- runConfig.sh overwrites settings in other config files. Beware!
- Do not simply run the executable; use or adapt run scripts provided. Using gchp.local.run to run from the command line with 6 cores for quick tests.
- Run-time MAPL/ESMF errors are nearly always from bad config. Check your run directory *.rc files and runConfig.sh.
- Errors in CAP usually inidicate bad simulation dates; check runConfig.sh.
- ExtData errors indicate a problem in input. Set MAPL_DEBUG_LEVEL to 20 in runConfig.sh to maximize ExtData debug prints to the log file.
- MAPL History error is problem with diagnostics; check HISTORY.rc.
- Search for “making install” in file compile.log to find MAPL build errors.
- Create a GCHP GitHub issue if you think you need to edit MAPL or ESMF.