tips.rst 1.05 KB
Newer Older
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed
Tips and tricks
===============

Working with ORCA1
------------------

If you plan to run diagnostics for ORCA1 resolution, be aware that your workstation will be more than capable to run
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed
them. At this resolution, memory and CPU consumption is low enough to allow you keep using the machine while running,
specially if you reserve a pair of cores for other uses.
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed

Configuring core usage
----------------------

By default, the Earth Diagnostics creates a thread for each available core for the execution. If you are using a queueing
system, the diagnostics will always use the number of cores that you reserved. If you are running outside a queueing
system, the diagnostics will try to use all the cores on the machine. To avoid this, add the MAX_CORES parameter to the
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed
DIAGNOSTICS section inside the diags.conf file that you are using.
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed

Cleaning temp file
------------------

By default, EarthDiagnostics removes the temporary directory after execution. This behaviour can be avoided be setting
ra
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed

By default
Javier Vegas-Regidor's avatar
Javier Vegas-Regidor committed

.. code-block:: bash

    earthdiags -f PATH_TO_CONF --clean