---
title: "Tech Tip #56: Look up what your job actually used"
description: "Your cluster already records the energy of every job."
url: https://greencode.ai/tech-tips/56-look-up-your-job-energy/
---

# Tech Tip #56: Look up what your job actually used

**Your cluster already records the energy of every job.**

[Watch the video](https://media.greencode.ai/shorts/look-up-your-job-energy-02961f85ab96.mp4)

Video created by [explainapaper.com](https://explainapaper.com/?utm_source=greencode.ai&utm_medium=film&utm_campaign=made-by)

### The problem

Researchers see wall-clock time and core-hours, but many schedulers also record energy per job, and almost nobody looks.

### The fix you can use today

- Check whether your scheduler records job energy (for example sacct on Slurm).
- Compare energy per result between code versions and settings.
- Estimate before you run with a calculator for bigger campaigns.

The UK's ARCHER2 supercomputer lets users look up the energy of every job. GreenCode is exploring checks like this for jobs on shared clusters.

### Tools that help

- [Slurm energy accounting](https://slurm.schedmd.com/acct_gather.conf.html?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode): records the energy each job consumed, so users can look it up after the run
- [Green Algorithms calculator](https://calculator.green-algorithms.org/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode): estimates the carbon footprint of a computation from its runtime, hardware and location
- [nf-co2footprint](https://nextflow-io.github.io/nf-co2footprint/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode): a Nextflow plugin that estimates the energy and CO2 of each task in a pipeline run

### How GreenCode helps

GreenCode helps tackle this by measuring research code's energy before and after a change, pointing to the code behind each hotspot, and checking that the optimised code still gives the same results. [More on this](https://greencode.ai/benefit/improved-scientific-computation/).

### Tags

#hpc#measurement#research-software

### Sources

- [Research software and HPC energy: ARCHER2 records energy per job](https://greencode.ai/news/research-software-hpc-energy/)
- [ARCHER2 user documentation: energy use and emissions](https://docs.archer2.ac.uk/user-guide/energy/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode)
- [SchedMD (Slurm), sacct manual: ConsumedEnergy field](https://slurm.schedmd.com/sacct.html?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode)

[All GreenCode Tech Tips](https://greencode.ai/tech-tips/)

#### Key Facts

- Tip **#56**
- For **Ops and infrastructure**
- Category **HPC, embedded, mobile and games**
- Format **short video**
![GreenCode](https://greencode.ai/wp-content/uploads/2024/12/greencode-logo-website-small-colours-2.webp)

Want this checked on your own system? Talk to the GreenCode team.

[Get in touch](https://greencode.ai/contact/)
