{"id":32367206,"url":"https://github.com/trahay/mpi-wattmeter","last_synced_at":"2026-05-17T03:40:58.310Z","repository":{"id":88217640,"uuid":"478917555","full_name":"trahay/mpi-wattmeter","owner":"trahay","description":"MPI-Wattmeter measures the power consumption of MPI programs","archived":false,"fork":false,"pushed_at":"2023-09-29T16:28:14.000Z","size":208,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-01-28T13:10:50.416Z","etag":null,"topics":["carbon-emissions","cuda","energy-consumption","energy-monitor","gpu","hpc","mpi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trahay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-07T09:35:15.000Z","updated_at":"2023-08-21T06:40:21.000Z","dependencies_parsed_at":"2023-09-24T12:10:31.668Z","dependency_job_id":"cd8d55bc-2026-4032-a006-70a4cab8da12","html_url":"https://github.com/trahay/mpi-wattmeter","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.020000000000000018","last_synced_commit":"c175b916d898232772db3782b53f6f65783e3364"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trahay/mpi-wattmeter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trahay%2Fmpi-wattmeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trahay%2Fmpi-wattmeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trahay%2Fmpi-wattmeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trahay%2Fmpi-wattmeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trahay","download_url":"https://codeload.github.com/trahay/mpi-wattmeter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trahay%2Fmpi-wattmeter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280849663,"owners_count":26401812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carbon-emissions","cuda","energy-consumption","energy-monitor","gpu","hpc","mpi"],"created_at":"2025-10-24T18:56:24.250Z","updated_at":"2025-10-24T18:56:48.884Z","avatar_url":"https://github.com/trahay.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPI-Wattmeter\n\nMPI-Wattmeter measures the power consumption of MPI programs.\n\n## Running an application\n\n\n```bash\nmpirun mpi_wattmeter [options] myappli\n```\n\n\nThe following options can be passed to MPI Interceptor:\n\n- `-v` or `--verbose`\n  + Set verbosity level (default level: 0)\n- `-d` or `--details`\n  + Print detailed measurements (default level: 0)\n\n## Building MPI-Wattmeter\n\n```\ngit clone https://github.com/trahay/mpi-wattmeter.git\nmkdir mpi-wattmeter/build\ncd mpi-wattmeter/build\ncmake ..  -DCMAKE_INSTALL_PREFIX=$PWD/../install\nmake install\n```\n\n## Example\n\nIn this example, we run NAS Parallel Benchmark BT kernel:\n```\n\n$ mpirun -np 4 mpi_wattmeter  ./bin/bt.A.4 \n[...]\n============================\nMPI-Wattmeter summary\n============================\n#Node:rank      Source          joules          Watt.hour \n3a401-01:0      energy-cores    216.070618      0.060020  \n3a401-01:0      energy-pkg      252.904602      0.070251  \n3a401-01:0      energy-ram      13.127563       0.003647  \n3a401-02:1      energy-cores    194.357422      0.053988  \n3a401-02:1      energy-pkg      230.965149      0.064157  \n3a401-02:1      energy-ram      12.479248       0.003466  \n3a401-03:2      energy-cores    216.447571      0.060124  \n3a401-03:2      energy-pkg      253.188782      0.070330  \n3a401-03:2      energy-ram      12.913330       0.003587  \n3a401-04:3      energy-cores    196.919067      0.054700  \n3a401-04:3      energy-pkg      233.507263      0.064863  \n3a401-04:3      energy-ram      12.370789       0.003436  \n\nTotal:\n#Source         total(j)        avg(j)          min(j)          max(j)          total(W.h)      avg(W.h)        min(W.h)        max(W.h)  \nenergy-cores    823.794678      205.948669      194.357422      216.447571      0.228832        0.057208        0.053988        0.060124  \nenergy-pkg      970.565796      242.641449      230.965149      253.188782      0.269602        0.067400        0.064157        0.070330  \nenergy-ram      50.890930       12.722733       12.370789       13.127563       0.014136        0.003534        0.003436        0.003647  \n\n```\n\n\nAdding the `-d` option prints the collected data for each machine.\n\nSeveral hardware counters are collected:\n\n- `energy-cores`: energy consumed by the CPU \n- `energy-gpu`: energy consumed by the integrated GPU\n- `energy-ram`: energy consumed by the RAM\n- `energy-pkg`: energy consumed by the whole socket (usually this corresponds to CPU+RAM)\n- `energy-psys`: total energy consumed by the machine\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrahay%2Fmpi-wattmeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrahay%2Fmpi-wattmeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrahay%2Fmpi-wattmeter/lists"}