mantik.config.environment¶
Classes¶
Part of the backend-config where all variables |
Module Contents¶
- class mantik.config.environment.Environment[source]¶
Bases:
mantik.config._base.ConfigObject
Part of the backend-config where all variables concerning the running environment are stored.
- execution: mantik.config.executable.Execution | None = None[source]¶
- set_srun_cpus_per_task_if_unset(resources: mantik.config.resources.Resources) Environment [source]¶
- to_unicore_job_description(bash_script_name: str) Dict [source]¶
Convert to UNICORE job description.
- Parameters:
arguments (str) – Arguments to pass to the executable.
- Returns:
The UNICORE job description.
For details see https://sourceforge.net/p/unicore/wiki/Job_Description # noqa: E501
- Return type:
dict