Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carbon footprint in report #2834

Open
daaaaande opened this issue Apr 22, 2024 · 2 comments
Open

carbon footprint in report #2834

daaaaande opened this issue Apr 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@daaaaande
Copy link

Is your feature request related to a problem? Please describe.
no problem per se, just a tool that could know all the variables needed for calculation

Describe the solution you'd like
snakemake knows the used ressources of orchestrated workflows, even if it is resumed after failed sub-jobs. Snakemake knows the utilized ressources and the actual walltime used. This combined with the world average or country-typic co2/ressource tables should make this possible. In the best case, after each snakemake execution i see a estimate on co2 equivalents used by my pipeline, maybe even in more simple-to-understand numbers such as car km driven equivalent, flight time equivalent.... In the best case as the command line executes the all: rule or maybe just part of the report that snakemake can do. should use minimal compute ressources.

Describe alternatives you've considered
something like this: https://github.com/mlco2/codecarbon is apparently already available for nextflow. This would motivate users to be more energy efficient, benefiting everyone?

Additional context
i see there might be more important things to fix/add, but that's why this is only a feature request.

@daaaaande daaaaande added the enhancement New feature or request label Apr 22, 2024
@johanneskoester
Copy link
Contributor

Very nice idea! I would love to accept a corresponding PR.

@cmeesters
Copy link
Contributor

Perhaps of interest in this regard: mlco2/codecarbon#431

After all, we are not particularly interested in the footprint of machines or Snakemake itself, but rather of the triggered processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants