lxm3.xm_cluster.SingularityOptions¶
- class lxm3.xm_cluster.SingularityOptions(bind: Dict[str, str] = NOTHING, extra_options: Sequence[str] = NOTHING)¶
Options for singularity container.
- Parameters:
bind – Mapping of the form
{src: dst}.<src>:<dst>. (User-bind path specification of the form -B)
extra_options –
Extra commandline options to pass to singularity.
- When using the
extra_options, be aware of the following: 1. You should not set a working directory as LXM3 configures those for the executable. 2. You don’t have to pass
--nvfor GPU jobs,lxm3 will do it for you.
- When using the
- __init__(bind: Dict[str, str] = NOTHING, extra_options: Sequence[str] = NOTHING) None¶
Method generated by attrs for class SingularityOptions.
Methods
__init__([bind, extra_options])Method generated by attrs for class SingularityOptions.
Attributes
bindextra_options