Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 728 Bytes

File metadata and controls

22 lines (17 loc) · 728 Bytes

COMPSs decorator

The @compss (or @COMPSs) decorator shall be used to define that a task is going to be a COMPSs application (compss_task_python). It enables to have nested PyCOMPSs/COMPSs applications.

from pycompss.api.compss import compss

@compss(runcompss="${RUNCOMPSS}", flags="-d",
        app_name="/path/to/simple_compss_nested.py", computing_nodes="2")
@task()
def compss_func():
     pass

The COMPSs application invocation can also be enriched with the flags accepted by the runcompss executable. Please, check execution manual for more details about the supported flags.