Resources#
Argument for ExPyRe.start(). Specifies the resources to be allocated for each remotely submitted job. The fomrat is:
"max_time": maximum runtime.intfor seconds,strfor “<N>[smhd]” (case insensitive) or<dd>-<hh>:<mm>:<ss>(with leading parts optional, so N1:N2 is N1 minutes + N2 seconds)"num_nodes":intnumber of nodes (mutually exclusive withnum_cores)"num_cores":intnumber of cores (mutually exclusive withnum_nodes)"partitions":strorlist(str)with regexps that match entire partition names (see section on Configuration)
Additional possible keys
"max_mem_tot": max memory for entire job.intfor kB,strfor “<N>[kmgt]b?” (case insensitive) (mutually exclusive withmax_mem_per_core)"max_mem_per_core": max memory per core.intfor kB,strfor “<N>[kmgt]b?” (case insensitive). (mutually exclusive withmax_mem_tot)
For clusters that do not operate in node-exclusive way (multiple jobs with a handful of cores each may run on the same node) it might be useful to set partial_node=True in Expyre.start(). This allows to select partitions that wouldn’t have all their cores filled by the submitted job.