Excellent. It may be a pointless question but if it runs in a job on a non GPU node (so of course no GPU allocated) it's not going to mind that there is no NVML library? William On 3 December 2026 11:54:49 GMT, Ole Holm Nielsen via slurm-users <slurm-users@lists.schedmd.com> wrote:
Dear Slurm users,
I would like to announce "jobeff" [1], a Slurm job efficiency report tool. Further details and installation instructions are in [1]. Comments as well as suggestions for improvement are welcomed by E-mail to Ole.H.Nielsen@fysik.dtu.dk or as issues/PRs on GitHub.
The jobeff tool is a Bash script that inquires Slurm information using sacct for finished jobs, and sstat for jobs that are still running. It may be used in different ways:
* With the accompanying "jobmail" script for an E-mail report from slurmctld, * By itself on the command line, * In a running Slurm job prior to completion.
The "jobeff" tool is intended as a replacement for the old "seff" tool, which is part of the slurm-contribs RPM package. seff is written in Perl, but the Slurm Perl interface is now deprecated [2].
Important advantages of jobeff over seff are:
1. GPU utilization and memory usage is reported from Slurm. This is a long-time requirement at many sites!
2. Energy consumption is reported from Slurm (if configured).
3. A nicely formatted report which could be extended if desired.
4. Reports from jobs that are in the Running state.
5. Uses standard Slurm commands sacct and sstat.
If you wish to have GPU and/or Energy reports, please note that you need to build Slurm with appropriate library support:
* GPU utilization requires the NVIDIA NVML library, see the "Configuring Slurm with NVML" page [3].
* Energy consumption requires the FreeIPMI library, see the "FreeIPMI library for Power Saving" page [4].
Here are some example outputs for comparison of jobeff with seff:
jobeff ======
Efficiency report for Slurm job 11354255 ========================================
Parameter Value --------- ----- Job ID: 11354255 Job SLUID: s8FXM8BF8BC800 Cluster: niflheim Partition: a100el9_week NodeList: sd651 User/Group: user1/group1 (User Full Name) WorkDir: /home/user1 State: TIMEOUT (exit code 0) Submit time: 2026-11-26T09:23:13 Start time: 2026-11-26T09:24:08 Elapsed time: 7-00:00:00 End time: 2026-12-03T09:24:08 Nodes: 1 Cores per node: 32 CPU Utilized: 6-22:22:52 CPU Efficiency: 3.09% of 224-00:00:00 core-walltime Memory Utilized: 3.31 GB Memory Efficiency: 3.03% of 109.38 GB (3.42 GB/core) GPUs per node: 1 (a100) GPU AllocTRES: billing=128,cpu=32,energy=523076156,gres/gpu:a100=1,gres/gpu=1,mem=112000M,node=1 GPU utilization: min 96%, max 96%, avg 96% (gres/gpu=1) GPU memory: min 39862M, max 39862M, avg 39862M (MB) (gres/gpu=1) Energy consumed: 145 kWh (523.08 MJ) Note: This is the energy of the entire nodes, which were shared with 8 other job(s) (Mixed node state), so it is not the energy of this job alone
seff ====
Job ID: 11354255 Cluster: niflheim User/Group: user1/group1 State: TIMEOUT (exit code 0) Nodes: 1 Cores per node: 32 CPU Utilized: 6-22:22:53 CPU Efficiency: 3.09% of 224-00:00:00 core-walltime Job Wall-clock time: 7-00:00:00 Memory Utilized: 3.31 GB Memory Efficiency: 3.03% of 109.38 GB (3.42 GB/core)
You will notice that jobeff and seff obtain the same information from Slurm.
Best regards, Ole
[1] https://github.com/OleHolmNielsen/Slurm_tools/tree/master/jobs#job-cpu-and-g...
[2] https://slurm.schedmd.com/related_software.html
[3] https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_installation/#configuring-sl...
[4] https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_installation/#freeipmi-libra...
-- Ole Holm Nielsen PhD, Senior HPC Officer Department of Physics, Technical University of Denmark
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com