Skip to content
Snippets Groups Projects
Commit 5b5b9009 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

just tried this, so we might as well document the behaviour

because I wanted to know if package sets are included in the return value
parent b898bf5e
No related branches found
No related tags found
1 merge request!58just tried this, so we might as well document the behaviour
Pipeline #370943 passed
...@@ -729,6 +729,18 @@ def prepare_environment(mpsd_release: str, root_dir: Path) -> List[str]: ...@@ -729,6 +729,18 @@ def prepare_environment(mpsd_release: str, root_dir: Path) -> List[str]:
------- -------
available_toolchains : list available_toolchains : list
A list of available toolchains for the given MPSD release. A list of available toolchains for the given MPSD release.
Example
-------
>>> prepare_environment('dev-23a', Path('.'))
['foss2021a-cuda-mpi',
'foss2021a-mpi',
'foss2021a-serial',
'foss2022a-cuda-mpi',
'foss2022a-mpi',
'foss2022a-serial',
'global',
'global_generic']
""" """
logging.info(f"Preparing {mpsd_release=}") logging.info(f"Preparing {mpsd_release=}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment