Skip to content

Commit

Permalink
#3074: Add details about mem/time usage in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-gill committed Jun 4, 2024
1 parent 9af34bf commit c4ad8d3
Showing 1 changed file with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,14 @@ the ``[[COMPUTE]]`` section in the site-specific ``.cylc`` file in the

cylc stop "a_running_recipe_test_workflow"

#. Open it in your preferred code editor.

#. Locate the ``[[COMPUTE]]`` section, it should look something like this::

[[COMPUTE]]
platform = <your_platform_here>
execution time limit = PT2M
[[[directives]]]
--wckey = RTW
--ntasks = {{ MAX_PARALLEL_TASKS }}
--mem = 2G

#. Run your recipe with ESMValTool on your compute server for your site.
#. Obtain the duration and memory usage of the recipe from the messages printed
to screen after running your recipe on the compute cluster you use at your
site; these messages will look something like::

YYYY-MM-DD HH:MM:SS:sss UTC [12345] INFO Time for running the recipe was: 0:02:13.334742
YYYY-MM-DD HH:MM:SS:sss UTC [12345] INFO Maximum memory used (estimate): 2.4 GB
[...]
YYYY-MM-DD HH:MM:SS:sss UTC [12345] INFO Run was successful

#. If the recipe takes less than 10 minutes to run then it should be added as a
"fast" recipe in the ``flow.cylc`` file within the ``[task parameters]``
Expand Down

0 comments on commit c4ad8d3

Please sign in to comment.