lxm3.xm_cluster.SingularityOptions¶
- class lxm3.xm_cluster.SingularityOptions(bind: Dict[str, str] = _Nothing.NOTHING, extra_options: Sequence[str] = _Nothing.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: lxm3 currently probably won’t likely work with
--contain,--pwdand-wd,You don’t have to pass
--nvfor GPU jobs, lxm3 will do it for you.
- When using the
- __init__(bind: Dict[str, str] = _Nothing.NOTHING, extra_options: Sequence[str] = _Nothing.NOTHING) None¶
Method generated by attrs for class SingularityOptions.
Methods
__init__([bind, extra_options])Method generated by attrs for class SingularityOptions.
Attributes
bindextra_options