Logo
  • What is COMPSs?
  • Quickstart
  • Installation and Administration
  • Application development
    • Java
    • Python Binding
      • Programming Model
        • Task Definition
        • API
        • Failures and Exceptions
        • Integration with Numba
      • Application Execution
      • Integration with Jupyter notebook
      • Integration with emcee
      • Distributed Data Set (DDS)
    • C/C++ Binding
    • Constraints
  • Execution Environments
  • Tools
  • Persistent Storage
  • Sample Applications
  • PyCOMPSs CLI
  • PyCOMPSs Notebooks
  • Troubleshooting
  • COMPSs Tutorial
COMPSs
  • Application development
  • Python Binding
  • Programming Model

Programming Model

The programming model for Python is structured in the following sections:

Table of Contents

  • Task Definition
    • Task Selection
      • Function parameters
      • Tasks within classes
    • Task Parameters
      • Objects
      • Files
      • Directories
      • Collections
      • Collections of files
      • Dictionaries
      • Streams
      • Standard Streams
    • Other Task Parameters
      • Task time out
      • Scheduler hints
      • On failure task behavior
    • Task Parameters Summary
    • Task Return
    • Other task types
      • Binary decorator
      • OmpSs decorator
      • MPI decorator
      • MPMD MPI decorator
      • I/O decorator
      • COMPSs decorator
      • Multinode decorator
      • HTTP decorator
      • Reduction decorator
      • Container decorator
      • Software decorator
        • Configuration File
        • Examples
      • Julia decorator
      • Other task types summary
    • Task Constraints
      • Supported constraints
      • Dynamic constraints
      • Special constraints
    • Multiple Task Implementations
    • Prolog & Epilog
    • Data Transformation
  • API
    • Synchronization
      • Local Decorator
    • File/Object deletion
    • Task Groups
    • Other
    • API Summary
  • Failures and Exceptions
  • Integration with Numba
    • Basic usage
    • Advanced usage
      • Using Numba with GPUs
Previous Next

© Copyright Barcelona Supercomputing Center (BSC).

Built with Sphinx using a theme provided by Read the Docs.
Barcelona Supercomputing Center (BSC)