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:
    1. lxm3 currently probably won’t likely work with --contain, --pwd and -wd,

    2. You don’t have to pass --nv for GPU jobs, lxm3 will do it for you.

__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

bind

extra_options