Closed benoit-cty closed 1 year ago
Tested on a SLURM environment : there is only too call per sessions and no more error message.
I'll have a look next week 😊
There was an issue with $SLURM_JOBID
which was changed to $SLURM_JOB_ID
, making some queries like scontrol show job $SLURM_JOBID"
fail.
This works as expected
from codecarbon.external.hardware import RAM
ram = RAM(tracking_mode="process")
ram.slurm_memory_GB
There was an issue with
$SLURM_JOBID
which was changed to$SLURM_JOB_ID
, making some queries likescontrol show job $SLURM_JOBID"
fail.
Thanks for your review, it seems to be deprecated since 2017 so it is safe to remove the support of the old name !
Fix SLURM RAM monitoring :
Will close #447