matensemble.logger module
- class matensemble.logger.StatusWriter(path, nnodes, cores_per_node, gpus_per_node)[source]
Bases:
objectClass to handle updating the status file
- Parameters:
path (Path)
nnodes (int)
cores_per_node (int)
gpus_per_node (int)
- path
the path to the status file
- Type:
Path
- nnodes
The number of nodes that flux is managing (total_allocation - 1 for flux borker)
- Type:
int
- cores_per_node
The number of CPU cores that are available on each node
- Type:
int
- gpus_per_node
The number of GPUs that are available on each node
- Type:
int