TACC
TACC
dataclass
Use single-threaded ibrun rank slots in the current Slurm allocation.
Machine and queue selection belong to allocation/submission settings. Python callbacks run on the coordinator in sequential stages only.
Example
Inside an existing compatible compute allocation:
Note
Requires Linux, Slurm allocation variables, ibrun, task_affinity, and one CPU per rank slot. This object does not authenticate or request nodes.
Methods:
| Name | Description |
|---|---|
capacity |
Validate the allocation and resolve available rank slots. |
Methods:
capacity
Validate the allocation and resolve available rank slots.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
requested
|
int | None
|
Explicit capacity not exceeding SLURM_NTASKS, or None for all allocated slots. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
slots |
int
|
Validated capacity. |
Raises:
| Type | Description |
|---|---|
ValueError
|
Allocation, launcher tools, threads per task, or request is invalid. |