Skip to main content

PSyclone - a source-to-source and DSL Fortran compiler for HPC applications

Project description

PSyclone logo

DOI Build Status codecov

PSyclone is a source-to-source Fortran compiler designed to programmatically optimise, parallelise and instrument HPC applications via user-provided transformation scripts. By encapsulating the performance-portability aspects (e.g. whether to parallelise with OpenMP or OpenACC), these scripts enable a separation of concerns between the scientific implementation and the optimisation choices. This allows each aspect to be explored and developed largely independently. Additionally, PSyclone supports the development of kernel-based Fortran-embedded DSLs following the PSyKAl model developed in the GungHo project.

PSyclone is currently used to support the LFRic mixed finite-element PSyKAl DSL for the UK MetOffice's next generation modelling system and the GOcean finite-difference PSyKAl DSL for a prototype 2D ocean modelling system. It is also used to insert GPU offloading directives into existing directly-addressed MPI applications such as the NEMO ocean model.

For more detailed information see the PSyclone Documentation.

Installation

You can install the latest release of psyclone from PyPI by using:

$ pip install psyclone

or, if you want an isolated installation in a python virtual environment:

$ python -m venv <virtual_env_name>
$ source <virtual_env_name>/bin/activate
$ pip install psyclone

Alternatively, you can install the latest upstream version of psyclone by cloning this repository and using:

$ pip install .

or in developer (editable) mode using

$ pip install -e .

PSyclone is also available in the Conda and Spack package managers.

For more information about the installation process see the Getting Going. section of the User Guide.

Structure

Path Description
bin/ Top-level driver scripts for PSyclone and the PSyclone kernel tool
changelog Information on changes between releases
doc/ Documentation source using Sphinx
examples/ Simple examples
README.md This file
src/psyclone The Python source code
src/psyclone/tests/ Unit and functional tests using pytest
tutorial/practicals Hands-on exercises using a local installation of PSyclone

Project details


Download files

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

Source Distribution

psyclone-3.3.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

psyclone-3.3.0-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file psyclone-3.3.0.tar.gz.

File metadata

  • Download URL: psyclone-3.3.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for psyclone-3.3.0.tar.gz
Algorithm Hash digest
SHA256 9a8c6dc425ef666b9340641fad64e6496302c746a12b23cabd887a1885831c85
MD5 abd618bcfb79909554fc415e388e19ad
BLAKE2b-256 387348fafcc387fdd9b3bc9392f6961ff89a81682382afa07d84f276e23240b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for psyclone-3.3.0.tar.gz:

Publisher: python_publish.yml on stfc/PSyclone

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file psyclone-3.3.0-py3-none-any.whl.

File metadata

  • Download URL: psyclone-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for psyclone-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a74b72e6e08aaadd2ca3a5b36e55eb088dc89f26115b58a23085677839b1817f
MD5 1a8a3c857bb5425f5e207270fd23f130
BLAKE2b-256 4afa04487c9f0438acf1ab5919ef38ce10115095c61ed9613d93555bcceef855

See more details on using hashes here.

Provenance

The following attestation bundles were made for psyclone-3.3.0-py3-none-any.whl:

Publisher: python_publish.yml on stfc/PSyclone

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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