GreenDIRAC
GreenDIRAC is a DIRAC extension built for the GreenDIGIT Project. It enriches DIRAC workload management with sustainability data—power usage effectiveness (PUE) and carbon intensity (CI)—so scheduling and reporting tools can account for the environmental cost of running jobs.
What GreenDIRAC adds
- Registers itself as a DIRAC extension so the agents and configuration entries are available alongside standard DIRAC deployments.
- Uses the collected metrics to prefer greener queues when dispatching jobs and to record energy/emissions for completed workloads.
Core agents
- Green-aware Site Director – augments queue information with PUE, CI and then computes a green score that ranks queues from greenest to least green before scheduling.
- GreenReportingAgent – collects finished job records, queries CIM/CI services for sustainability data, computes energy/emissions figures, and persists the metrics to DIRAC databases and ElasticSearch when enabled.
Local CIM configuration
CIMClient reads credentials and API endpoints from:
src/GreenDIRAC/WorkloadManagementSystem/Client/cim.conf
Required sections and keys:
[CIM]:EMAIL,PASSWORD,API_BASE,METRICS_URL[KPI]:API_BASE[Defaults]:PUE,CI,ENERGY_WH[Runtime]:TOKEN_MAX_AGE_H,CACHE_TTL,TOKEN_TIMEOUT_S,PUE_TIMEOUT_S,CI_TIMEOUT_S,SUBMIT_TIMEOUT_S
If cim.conf is missing, CIMClient fails at startup with
RuntimeError("CIMClient config file not found: ...").
Metadata
Release files for greendirac 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| greendirac-0.1.1.tar.gz | 13.4 kB | Without provenance | Details for greendirac-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| greendirac-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for greendirac-0.1.1-py3-none-any.whl |
Total release size: 27.9 kB
Release files / greendirac-0.1.1.tar.gz
| Download URL | greendirac-0.1.1.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
214ef0163aa2764e83de98b41effee60fd627b1f9864ece76cd3c6f469ca7dfe
|
|
BLAKE2b-256 checksum How to use checksums |
ee46211523b323327d954cea8d0ded86376372d9233713a480f8615f808a4936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / greendirac-0.1.1-py3-none-any.whl
| Download URL | greendirac-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3ff7a4053bb20211e50473d64adea3ef6b3bc8eac523c1fc996e5ca78080114
|
|
BLAKE2b-256 checksum How to use checksums |
800f51308a64cf7189745d60cf3283124da621c4b16dadc6f1440c911b50d1a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for greendirac 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.