forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document the generate_workflows.sh script (NOAA-EMC#3028)
This adds readthedocs documentation for the new generate_workflows.sh script to the testing section. It also fixes a few small existing issues in the documentation.
- Loading branch information
1 parent
720eb4c
commit 5cc20ec
Showing
6 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ Code managers | |
|
||
* Kate Friedman - @KateFriedman-NOAA / [email protected] | ||
* Walter Kolczynski - @WalterKolczynski-NOAA / [email protected] | ||
* David Huber - @DavidHuber-NOAA / [email protected] | ||
|
||
.. _development: | ||
|
||
|
@@ -70,7 +71,29 @@ The following steps should be followed in order to make changes to the develop b | |
Development Tools | ||
================= | ||
|
||
See the ``/test`` folder in global-workflow for available development and testing tools. | ||
Two sets of testing are available for use by developers. The first is the capability to run continuous integration tests locally and the second are a set of comparison tools. | ||
|
||
--------------------------- | ||
Continuous Integration (CI) | ||
--------------------------- | ||
|
||
The global workflow comes fitted with a suite of system tests that run various types of workflow. These tests are commonly run for pull requests before they may be merged into the develop branch. At a minimum, developers are expected to run the CI test(s) that will be impacted by their changes on at least one platform. | ||
|
||
The commonly run tests are written in YAML format and can be found in the ``ci/cases/pr`` directory. The ``workflow/generate_workflows.sh`` tool is available to aid running these cases. See the help documentation by running ``./generate_workflows.sh -h``. The script has the capability to prepare the EXPDIR and COMROOT directories for a specified or implied suite of CI tests (see :doc:`setup` for details on these directories). The script also has options to automatically build and run all tests for a given system (i.e. GFS or GEFS and a placeholder for SFS). For instance, to build the workflow and run all of the GFS tests, one would execute | ||
|
||
:: | ||
|
||
cd workflow | ||
./generate_workflows.sh -A "your_hpc_account" -b -G -c /path/to/root/directory | ||
|
||
where: | ||
|
||
* ``-A`` is used to specify the HPC (slurm or PBS) account to use | ||
* ``-b`` indicates that the workflow should be built fresh | ||
* ``-G`` specifies that all of the GFS cases should be run (this also influences the build flags to use) | ||
* ``-c`` tells the tool to append the rocotorun commands for each experiment to your crontab | ||
|
||
More details on how to use the tool are provided by running ``generate_workflows.sh -h``. | ||
|
||
---------------- | ||
Comparison Tools | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,9 +90,9 @@ Optimizing the global workflow on S4 | |
|
||
The S4 cluster is relatively small and so optimizations are recommended to improve cycled runtimes. Please contact Innocent Souopgui ([email protected]) if you are planning on running a cycled experiment on this system to obtain optimized configuration files. | ||
|
||
======================================== | ||
================================================== | ||
Stacksize on R&Ds (Hera, Orion, Hercules, Jet, S4) | ||
======================================== | ||
================================================== | ||
|
||
Some GFS components, like the UPP, need an unlimited stacksize. Add the following setting into your appropriate .*rc file to support these components: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters