File: index.rst

package info (click to toggle)
ecflow 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,868 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 70
file content (33 lines) | stat: -rw-r--r-- 996 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.. _python_based_suite_definition:

Python based suite definition
/////////////////////////////////////

ecFlow provides a :ref:`python_api`. This allows: 

- complete specification of the suite definition, including trigger and time dependencies 
- full access to the command level interface(CLI)

Since the full power of python is available to specify the suite definition, there is considerable flexibility. The API is documented using the python _doc_ facility.

.. warning::

   Before the :ref:`python_api` can be used you need to set some variables.
   
   **PYTHONPATH** must be set to include the directory where the file 'ecflow.so' has been installed

.. toctree::
   :maxdepth: 1

   defining_a_suite/index.rst
   adding_dependencies/index.rst
   adding_attributes/index.rst
   control_structures_and_looping
   adding_externs_automatically
   checking_the_suite_definition
   checking_job_generation
   handling_dummy_tasks
   debugging_suite_definition/index
   error_handling