utils.env_init_lines#
Back to Module page
Summary#
Creates text snippet to be added before submitting jobs to clusters
Signature#
def env_init_lines(env_command = None, module_name = None, env_name = None, python_name = None, cluster = 'helios')
Name |
Type |
Default |
Description |
|---|---|---|---|
|
None |
Override the combination of module loading and sourcing the conda environment |
|
|
None |
Override module to be initialized |
|
|
None |
Override user-dependent conda environment name |
|
|
None |
Override user- and cluster-dependent python command name |
|
|
‘helios’ |
Cluster being used, add options below for new clusters |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Text snippet that is to be added in the commands to the cluster (no ending space) |
Docstring#
Creates text snippet to be added before submitting jobs to clusters
:param env_command:
Override the combination of module loading and sourcing the conda
environment
:param module_name: Override module to be initialized
:param env_name: Override user-dependent conda environment name
:param python_name: Override user- and cluster-dependent python command name
:param cluster: Cluster being used, add options below for new clusters
:return:
Text snippet that is to be added in the commands to the cluster
(no ending space)