Skip to main content

Command Line Interface (CLI) for PyCOMPSs. Enables to run PyCOMPSs applications in different environments (docker, cluster, local) from a single command line.

Project description

Introduction

The PyCOMPSs CLI (pycompss) provides a standalone tool to use PyCOMPSs interactively within docker environments, local machines and remote clusters. This tool has been implemented on top of PyCOMPSs programming model, and it is being developed by the Workflows and Distributed Computing group of the Barcelona Supercomputing Center.

Contents

Quickstart

There are two ways in which you can get started with PyCOMPSs. You can perform a local installation by installing the pycompss package, or you can use it through our ready-to-use docker image thorugh this pycompss-cli tool.

Installation

python3 -m pip install pycompss-cli

This should add the pycompss-cli executables (pycompss, compss and dislib) to your path. They can be used indifferently.

Warning: The user executable path may not be automatically exported into the PATH environment variable. So, take this into account if installed with the --user flag, since the pycompss|compss command will be unreachable until the path is exported into PATH.

Dependencies (Optional)

For creating docker environments pycompss-cli currently requires:

  • docker >= 17.12.0-ce

  1. Install docker

    • pycompss-cli requires docker 17.12.0-ce or greater.

    1. Follow these instructions

      Be aware that for some distros the docker package has been renamed from docker to docker-ce. Make sure you install the new package.

    2. Add user to docker group to run pycompss as a non-root user.

    3. Check that docker is correctly installed

      docker --version
      docker ps # this should be empty as no docker processes are yet running.
    4. Install docker-py

      python3 -m pip install docker

Usage

For detailed instructions and examples of usage please visit official documentation.

License

Apache License Version 2.0


Workflows and Distributed Computing

Department of Computer Science

Barcelona Supercomputing Center (http://www.bsc.es)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycompss_cli-3.4.tar.gz (67.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycompss_cli-3.4-py3-none-any.whl (94.4 kB view details)

Uploaded Python 3

File details

Details for the file pycompss_cli-3.4.tar.gz.

File metadata

  • Download URL: pycompss_cli-3.4.tar.gz
  • Upload date:
  • Size: 67.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pycompss_cli-3.4.tar.gz
Algorithm Hash digest
SHA256 fb66a73d9af762bf86c3ad0f7a15738e8fcef0cf86bc7587369317463340a3d7
MD5 002386eb07d2257e82436c6cd4a6cd9b
BLAKE2b-256 e04d80f64394cdc1aa33cc114001598cdce44d7a460d55a53e684c03e107c230

See more details on using hashes here.

File details

Details for the file pycompss_cli-3.4-py3-none-any.whl.

File metadata

  • Download URL: pycompss_cli-3.4-py3-none-any.whl
  • Upload date:
  • Size: 94.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pycompss_cli-3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2b769648eff268512fe61beab7e8eecafc2f39caf4d55dd937fe4bc18465c928
MD5 549f96c7b0ba44c495c306d8e8007adf
BLAKE2b-256 437e610e8f9f2a462444d315e0d2a62908dd20b82aac2635e4256906a26a9319

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page