Energy consumption with write_energy_report

22 views
Skip to first unread message

Pedro Félix

unread,
Mar 25, 2026, 6:54:12 AMMar 25
to SpiNNaker Users Group
Good morning,

I am trying to get a measure of energy consumption in the SpiNNaker simulation, so I have added the write_energy_report = True flag to my .spinnaker.cfg file.

I know my script can "see" the configuration file, because it created a routing file when I specified write_router_reports = True, but it seems to be ignoring energy reports...

Is this a known bug? 
Do you have a suggestion regarding how to solve this?

Best regards,
Pedro

2026-03-25 10:46:14 INFO: Buffer extractor took 0:00:00.063348
2026-03-25 10:46:14 INFO: Graph provenance gatherer skipped as cfg Reports:read_graph_provenance_data is False
2026-03-25 10:46:14 INFO: Placements provenance gatherer skipped as cfg Reports:read_placements_provenance_data is False
2026-03-25 10:46:14 INFO: Router provenance gatherer skipped as cfg Reports:read_router_provenance_data is False
2026-03-25 10:46:14 INFO: Profile data gatherer skipped as cfg Reports:read_profile_data is False
2026-03-25 10:46:14 INFO: Energy report skipped as cfg Reports:write_energy_report is False
2026-03-25 10:46:14 INFO: Redundant packet count report skipped as cfg Reports:write_redundant_packet_count_report is False
2026-03-25 10:46:14 INFO: Cleanup reports folder based on cfg took 0:00:00.015994 

Andrew Rowley

unread,
Mar 25, 2026, 6:59:08 AMMar 25
to Pedro Félix, SpiNNaker Users Group
Hi,

Near the top of the output, it should list the configuration files it is looking at.  It is possible to override settings in one file in another, particularly one close to the file you are running, so it is worth checking that list first.  The other thing to check is that the write_energy_report is specified in the [Reports] section.

Andrew 🙂

From: spinnak...@googlegroups.com <spinnak...@googlegroups.com> on behalf of Pedro Félix <pedrofe...@gmail.com>
Sent: 25 March 2026 10:54
To: SpiNNaker Users Group <spinnak...@googlegroups.com>
Subject: [SpiNNaker Mailing List] Energy consumption with write_energy_report
 
Good morning, I am trying to get a measure of energy consumption in the SpiNNaker simulation, so I have added the write_energy_report = True flag to my .spinnaker. cfg file. I know my script can "see" the configuration file, because it created
--
You received this message because you are subscribed to the Google Groups "SpiNNaker Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spinnakeruser...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/spinnakerusers/3b7d62a9-de3f-45d0-b04e-e781c2ac8483n%40googlegroups.com [groups.google.com].

Pedro Félix

unread,
Mar 25, 2026, 7:30:37 AMMar 25
to SpiNNaker Users Group
Hi Andrew, 

Thanks a lot for your help!

This is what the list looks like. I was checking the other spynnaker.cfg files, but they all indicated that I should not modify them.
(The one I changed is: 'C:\\Users\\NCN\\.spynnaker.cfg')

['c:\\users\\ncn\\documents\\pedrofelix\\.venv\\lib\\site-packages\\spinn_utilities\\spinn_utilities.cfg', 'c:\\users\\ncn\\documents\\pedrofelix\\.venv\\lib\\site-packages\\spinn_machine\\spinn_machine.cfg', 'c:\\users\\ncn\\documents\\pedrofelix\\.venv\\lib\\site-packages\\pacman\\pacman.cfg', 'c:\\users\\ncn\\documents\\pedrofelix\\.venv\\lib\\site-packages\\spinnman\\spinnman.cfg', 'c:\\users\\ncn\\documents\\pedrofelix\\.venv\\lib\\site-packages\\spinn_front_end_common\\interface\\spinnaker.cfg', 'c:\\users\\ncn\\documents\\pedrofelix\\.venv\\lib\\site-packages\\spynnaker\\pyNN\\spynnaker.cfg', 'C:\\Users\\NCN\\.spynnaker.cfg']


Best regards,
Pedro

Andrew Rowley

unread,
Mar 25, 2026, 7:48:06 AMMar 25
to Pedro Félix, SpiNNaker Users Group
Hi,

Yes the others should be ones that are setting the defaults.  The list is ordered so your .spynnaker.cfg should be overriding things.  

Do you know what version of the software you are using?  There might have been some rules in place previously that disabled the report if other things are not enabled.  I believe the current version should enable other things instead if they are disabled.

Andrew 🙂

Sent: 25 March 2026 11:30

To: SpiNNaker Users Group <spinnak...@googlegroups.com>
Subject: Re: [SpiNNaker Mailing List] Energy consumption with write_energy_report
 
Hi Andrew, Thanks a lot for your help! This is what the list looks like. I was checking the other spynnaker. cfg files, but they all indicated that I should not modify them. (The one I changed is: 'C: \\Users\\NCN\\. spynnaker. cfg') ['c: \\users\\ncn\\documents\\pedrofelix\\. venv\\lib\\site-packages\\spinn_utilities\\spinn_utilities. cfg',

Pedro Félix

unread,
Mar 25, 2026, 7:55:28 AMMar 25
to SpiNNaker Users Group
Hi,

From pip freeze:

SpiNNFrontEndCommon==1!7.3.0
SpiNNMachine==1!7.3.0
SpiNNMan==1!7.3.0
SpiNNUtilities==1!7.3.0
sPyNNaker==1!7.3.0

Should I update the package?

Best Regards,
Pedro

Andrew Rowley

unread,
Mar 25, 2026, 11:11:36 AMMar 25
to Pedro Félix, SpiNNaker Users Group
Hi,

I have had a look back at 7.3.0.  This appears to set the energy report to False if you don't specify a run time e.g. if you start a run with an indeterminate duration and then stop it some time later.  This seems to be changed in the later 7.4.1 release, where it can handle this.  So, I would advise that if you can, yes please try to update to the later version.  Hopefully thing will continue to work as they did before, but let us know again if you need more help.

Andrew 🙂



Sent: 25 March 2026 11:55

To: SpiNNaker Users Group <spinnak...@googlegroups.com>
Subject: Re: [SpiNNaker Mailing List] Energy consumption with write_energy_report
 
Hi, From pip freeze: SpiNNFrontEndCommon==1!7. 3. 0 SpiNNMachine==1!7. 3. 0 SpiNNMan==1!7. 3. 0 SpiNNUtilities==1!7. 3. 0 sPyNNaker==1!7. 3. 0 Should I update the package? Best Regards, Pedro Em quarta-feira, 25 de março de 2026 às 11: 48: 06 UTC, Andrew
Reply all
Reply to author
Forward
0 new messages