Skip to content

Commit

Permalink
feat: add documentation about ComputingElement
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed May 8, 2023
1 parent f3e4b4d commit 571772e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
----------------
ComputingElement
----------------

The full code documentation is available here :py:class:`~DIRAC.Resources.Computing.ComputingElement`
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ DIRAC applications
:maxdepth: 2

Catalog
Computing
MessageQueues/index
Storage
11 changes: 11 additions & 0 deletions src/DIRAC/Resources/Computing/ComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@
The ComputingElement objects are usually instantiated with the help of
ComputingElementFactory.
The ComputingElement class can be considered abstract. 3 kinds of abstract ComputingElements
can be distinguished from it:
- Remote ComputingElement: includes methods to interact with a remote ComputingElement
(e.g. HtCondorCEComputingElement, ARCComputingElement).
- Inner ComputingElement: includes methods to locally interact with an underlying worker node.
It is worth noting that an Inner ComputingElement provides synchronous submission
(the submission of a job is blocking the execution until its completion). It deals with one job at a time.
- Inner Pool ComputingElement: includes methods to locally interact with Inner ComputingElements asynchronously.
It can manage a pool of jobs running simultaneously.
"""

import os
Expand Down

0 comments on commit 571772e

Please sign in to comment.