Skip to content

Commit

Permalink
Updated example job scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamBindle committed Feb 19, 2021
1 parent 6f318c9 commit 68cd7ac
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ with Spack, as well as how to use Spack to install GCHP's dependencies if needed

supplement/rundir-config.rst
supplement/config-files.rst
supplement/job-script-examples.rst
supplement/spack.rst
supplement/containers.rst
supplement/plotting-output.rst
Expand Down
40 changes: 40 additions & 0 deletions docs/source/supplement/job-script-examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

Example Job Scripts
===================

These are example job scripts for GCHP batch jobs. These examples are taken from the :file:`runScriptSamples/`. See that
directory for more information and examples.

.. important::
These are examples. You need to write your own job scripts, but these are good templates to start from.

Please share yours! Submit a pull-request on GitHub.

Examples for Various Schedulers
-------------------------------

These are simple examples for various schedulers. They are set up to use 2 nodes, and are suitable for C48 or C90 resolution.

* For PBS-based clusters: :download:`simple_batch_job.pbs.sh <../../../run/runScriptSamples/simple_examples/simple_batch_job.pbs.sh>`
* For Slurm-based clusters: :download:`simple_batch_job.slurm.sh <../../../run/runScriptSamples/simple_examples/simple_batch_job.slurm.sh>`
* For LSF-based clusters: :download:`simple_batch_job.lsf.sh <../../../run/runScriptSamples/simple_examples/simple_batch_job.lsf.sh>`

Examples for Various HPCs
-------------------------

These are simple examples for various systems. They are set up to use 2 nodes, and are suitable for C48 or C90 resolution.

* For Pleiades (NASA Advanced Supercomputing): :download:`simple_batch_job.pbs.sh <../../../run/runScriptSamples/simple_examples/simple_batch_job.pbs.sh>`
* For Cannon (Harvard): :download:`simple_batch_job.slurm.sh <../../../run/runScriptSamples/simple_examples/simple_batch_job.slurm.sh>`
* For Compute1 (WUSTL): :download:`simple_batch_job.lsf.sh <../../../run/runScriptSamples/simple_examples/simple_batch_job.lsf.sh>`

Operational Examples
--------------------

These are "full-fledged" examples. They are more complicated, but they demonstrate what
operational GCHP batch jobs look like. Initially, it's probably best to err on the side of
simplicity, and build your own automated functionality with time.

* Auto-requeuing C360 simulation (Compute1): :download:`c360_requeuing.sh <../../../run/runScriptSamples/operational_examples/wustl_gcst/c360_requeuing.sh>`
* 1 month benchmark simulation (Cannon): :download:`gchp.benchmark.run <../../../run/runScriptSamples/operational_examples/harvard_gcst/gchp.benchmark.run>`

2 changes: 1 addition & 1 deletion src/GCHP_GridComp/GEOSChem_GridComp/geos-chem
Submodule geos-chem updated 85 files
+1 −18 .github/ISSUE_TEMPLATE/ask-a-question-about-geos-chem.md
+16 −83 .github/ISSUE_TEMPLATE/report-a-bug-or-technical-issue.md
+2 −19 .github/ISSUE_TEMPLATE/request-a-new-feature.md
+5 −24 .github/ISSUE_TEMPLATE/start-a-geos-chem-discussion.md
+1 −1 .github/ISSUE_TEMPLATE/version-release-checklist.md
+1 −1 .github/PULL_REQUEST_TEMPLATE/create-a-geos-chem-pull-request.md
+13 −0 .github/no-response.yml
+17 −0 .github/stale.yml
+33 −13 AUTHORS.txt
+1 −1 GeosCore/aerosol_mod.F90
+1 −6 GeosCore/calc_met_mod.F90
+29 −24 GeosCore/diag51_mod.F90
+25 −9 GeosCore/diag51b_mod.F90
+4 −4 GeosCore/gamap_mod.F90
+4 −4 GeosCore/hco_interface_gc_mod.F90
+54 −32 GeosCore/mixing_mod.F90
+31 −29 GeosCore/planeflight_mod.F90
+14 −14 GeosCore/seasalt_mod.F90
+153 −160 GeosCore/sulfate_mod.F90
+14 −14 GeosCore/tagged_o3_mod.F90
+37 −37 GeosCore/tomas_mod.F90
+18 −11 GeosCore/toms_mod.F90
+3 −0 GeosCore/ucx_mod.F90
+2 −2 GeosUtil/timers_mod.F90
+5 −5 Headers/CMN_DIAG_mod.F90
+110 −109 Headers/CMN_FJX_MOD.F90
+6 −6 Headers/CMN_SIZE_mod.F90
+3 −3 Headers/input_opt_mod.F90
+1 −1 Headers/state_met_mod.F90
+25 −11 ISORROPIA/isorropiaII_main_mod.F
+22 −5 Interfaces/GCClassic/main.F90
+44 −41 KPP/fullchem/gckpp_HetRates.F90
+1 −1 LICENSE.txt
+5 −18 NcdfUtil/m_netcdf_io_define.F90
+73 −28 NcdfUtil/m_netcdf_io_read.F90
+71 −29 NcdfUtil/m_netcdf_io_write.F90
+156 −129 NcdfUtil/perl/isCoards
+51 −15 README.md
+72 −72 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.CH4
+70 −70 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.CO2
+72 −72 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.Hg
+70 −70 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.POPs
+70 −70 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.TransportTracers
+86 −86 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.aerosol
+134 −117 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.fullchem
+72 −72 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.tagCH4
+73 −73 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.tagCO
+70 −70 run/GCClassic/HEMCO_Config.rc.templates/HEMCO_Config.rc.tagO3
+20 −1 run/GCClassic/HISTORY.rc.templates/HISTORY.rc.fullchem
+11 −5 run/GCClassic/createRunDir.sh
+3 −3 run/GCClassic/input.geos.templates/input.geos.CH4
+3 −3 run/GCClassic/input.geos.templates/input.geos.CO2
+3 −3 run/GCClassic/input.geos.templates/input.geos.Hg
+3 −3 run/GCClassic/input.geos.templates/input.geos.POPs
+3 −3 run/GCClassic/input.geos.templates/input.geos.TransportTracers
+3 −3 run/GCClassic/input.geos.templates/input.geos.aerosol
+3 −3 run/GCClassic/input.geos.templates/input.geos.fullchem
+3 −3 run/GCClassic/input.geos.templates/input.geos.tagCH4
+3 −3 run/GCClassic/input.geos.templates/input.geos.tagCO
+14 −3 run/GCClassic/input.geos.templates/input.geos.tagO3
+2 −2 run/GCHP/ExtData.rc.templates/ExtData.rc.fullchem
+70 −70 run/GCHP/HEMCO_Config.rc.templates/HEMCO_Config.rc.TransportTracers
+172 −155 run/GCHP/HEMCO_Config.rc.templates/HEMCO_Config.rc.fullchem
+28 −9 run/GCHP/HISTORY.rc.templates/HISTORY.rc.fullchem
+5 −5 run/GCHP/createRunDir.sh
+13 −3 run/GCHP/runScriptSamples/README
+0 −0 run/GCHP/runScriptSamples/operational_examples/harvard_gcst/gchp.benchmark.run
+0 −0 run/GCHP/runScriptSamples/operational_examples/harvard_gcst/gchp.local.run
+4 −2 run/GCHP/runScriptSamples/operational_examples/harvard_gcst/gchp.multirun.run
+0 −0 run/GCHP/runScriptSamples/operational_examples/harvard_gcst/gchp.multirun.sh
+0 −0 run/GCHP/runScriptSamples/operational_examples/harvard_gcst/gchp.run
+0 −0 run/GCHP/runScriptSamples/operational_examples/harvard_gcst/gchp.sge.run
+65 −0 run/GCHP/runScriptSamples/operational_examples/wustl_gcst/c360_requeuing.sh
+36 −0 run/GCHP/runScriptSamples/simple_examples/simple_batch_job.lsf.sh
+44 −0 run/GCHP/runScriptSamples/simple_examples/simple_batch_job.pbs.sh
+40 −0 run/GCHP/runScriptSamples/simple_examples/simple_batch_job.slurm.sh
+1 −0 run/GCHP/runScriptSamples/system_examples/simple_batch_job.harvard_cannon.sh
+1 −0 run/GCHP/runScriptSamples/system_examples/simple_batch_job.nasa_pleiades.sh
+1 −0 run/GCHP/runScriptSamples/system_examples/simple_batch_job.wustl_compute1.sh
+14 −4 run/shared/setupConfigFiles.sh
+12 −11 run/shared/species_database.yml
+0 −501 test/GCHP/commonFunctionsForTests.sh
+1 −0 test/GCHP/commonFunctionsForTests.sh
+5 −0 test/GCHP/gchp.slurm.sh
+29 −13 test/GCHP/intTestResults.sh
+12 −11 test/shared/commonFunctionsForTests.sh

0 comments on commit 68cd7ac

Please sign in to comment.