PSyclone - a source-to-source and DSL Fortran compiler for HPC applications
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a8c6dc425ef666b9340641fad64e6496302c746a12b23cabd887a1885831c85
|
|
| MD5 |
abd618bcfb79909554fc415e388e19ad
|
|
| BLAKE2b-256 |
387348fafcc387fdd9b3bc9392f6961ff89a81682382afa07d84f276e23240b3
|
Provenance
The following attestation bundles were made for psyclone-3.3.0.tar.gz:
Publisher:
python_publish.yml on stfc/PSyclone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psyclone-3.3.0.tar.gz -
Subject digest:
9a8c6dc425ef666b9340641fad64e6496302c746a12b23cabd887a1885831c85 - Sigstore transparency entry: 2044757415
- Sigstore integration time:
-
Permalink:
stfc/PSyclone@6f238e624b4a995f2bf4b5ced2a5e5cb458e1951 -
Branch / Tag:
refs/tags/v3.3.0 - Owner: https://github.com/stfc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python_publish.yml@6f238e624b4a995f2bf4b5ced2a5e5cb458e1951 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a74b72e6e08aaadd2ca3a5b36e55eb088dc89f26115b58a23085677839b1817f
|
|
| MD5 |
1a8a3c857bb5425f5e207270fd23f130
|
|
| BLAKE2b-256 |
4afa04487c9f0438acf1ab5919ef38ce10115095c61ed9613d93555bcceef855
|
Provenance
The following attestation bundles were made for psyclone-3.3.0-py3-none-any.whl:
Publisher:
python_publish.yml on stfc/PSyclone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psyclone-3.3.0-py3-none-any.whl -
Subject digest:
a74b72e6e08aaadd2ca3a5b36e55eb088dc89f26115b58a23085677839b1817f - Sigstore transparency entry: 2044757454
- Sigstore integration time:
-
Permalink:
stfc/PSyclone@6f238e624b4a995f2bf4b5ced2a5e5cb458e1951 -
Branch / Tag:
refs/tags/v3.3.0 - Owner: https://github.com/stfc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python_publish.yml@6f238e624b4a995f2bf4b5ced2a5e5cb458e1951 -
Trigger Event:
release
-
Statement type: