Skip to content

Automatically include SLURM_* environment variables in metadata #726

@alahiff

Description

@alahiff

It might be useful if the client automatically includes all SLURM_* environment variables as metadata, or at least a subset. In particular those related to resources allocated are probably most useful, e.g.

SLURM_CPUS_PER_TASK=2
SLURM_TASKS_PER_NODE=1
SLURM_NNODES=1
SLURM_NTASKS_PER_NODE=1
SLURM_NTASKS=1
SLURM_JOB_CPUS_PER_NODE=2
SLURM_CPUS_ON_NODE=2
SLURM_JOB_NUM_NODES=1
SLURM_MEM_PER_NODE=2000
SLURM_NPROCS=1
SLURM_TRES_PER_TASK=cpu:2

Job id is probably also useful, e.g.

SLURM_JOB_ID=5687940

Metadata

Metadata

Assignees

Labels

in progressWork is being done to resolve this issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions