nest.simulate() doesn't complete with music support compiled in #958
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
T: External bug
Not an issue that can be solved here. (May need documentation, though)
ZC: Kernel
DO NOT USE THIS LABEL
ZP: Pending
DO NOT USE THIS LABEL
I'm having some issues trying to run nest with music, nest without music support seems to work well but as soon as I add in music support calls to nest.simulate() seem to never return and surprisingly that's with no music neurons defined in the code
The python process spins up to 100% cpu and never comes down so I assumed it was stuck in a tight loop. Running "perf" against the process it seems to be spending most of its time in "MUSIC::Scheduler::pushForward()" which wasn't as helpful as I was hoping.
Both music and nest are built from the current masters, openmpi is v3.1.0 and I have tried "--disable-isend" with music on the off chance this is related to music/#37
Here's my reduced test-case:
[root@alarmpi nest-music-test]# cat nest.music
[nest]
binary=./simulation.py
args=
wd=./
np=1
[root@alarmpi nest-music-test]# cat simulation.py
#!/usr/bin/env python
import nest
input_neurons = nest.Create("poisson_generator", 3)
state_neurons = nest.Create("iaf_psc_alpha", 1)
output_neurons = nest.Create("spike_detector", 3)
nest.Connect(input_neurons, state_neurons)
nest.Connect(state_neurons, output_neurons)
nest.Simulate(10)
[root@alarmpi nest-music-test]# mpirun --allow-run-as-root --timestamp-output --host localhost:1 -np 1 /opt/music/bin/music ./nest.music
Thu May 24 09:39:14 2018:[INFO] [2018.5.24 9:39:14 /root/nest-build/nest-simulator/nestkernel/rng_manager.cpp:238 @ Network::create_rngs_] : Creating default RNGs
Thu May 24 09:39:14 2018:[INFO] [2018.5.24 9:39:14 /root/nest-build/nest-simulator/nestkernel/rng_manager.cpp:233 @ Network::create_rngs_] : Deleting existing random number generators
Thu May 24 09:39:14 2018:[INFO] [2018.5.24 9:39:14 /root/nest-build/nest-simulator/nestkernel/rng_manager.cpp:238 @ Network::create_rngs_] : Creating default RNGs
Thu May 24 09:39:14 2018:[INFO] [2018.5.24 9:39:14 /root/nest-build/nest-simulator/nestkernel/rng_manager.cpp:284 @ Network::create_grng_] : Creating new default global RNG
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018: -- N E S T --
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018: Copyright (C) 2004 The NEST Initiative
Thu May 24 09:39:14 2018: Version 2.14.0 May 18 2018 11:33:36
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018:This program is provided AS IS and comes with
Thu May 24 09:39:14 2018:NO WARRANTY. See the file LICENSE for details.
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018:Problems or suggestions?
Thu May 24 09:39:14 2018: Visit http://www.nest-simulator.org
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018:Type 'nest.help()' to find out more about NEST.
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018:May 24 09:39:14 NodeManager::prepare_nodes [Info]:
Thu May 24 09:39:14 2018: Preparing 7 nodes for simulation.
Thu May 24 09:39:14 2018:
Thu May 24 09:39:14 2018:May 24 09:39:14 MUSICManager::enter_runtime [Info]:
Thu May 24 09:39:14 2018: Entering MUSIC runtime with tick = 1 ms
^C
Thanks in advance for any asistance or pointers you can provide and also for your amazing work on nest and providing it for the community to use for free :)
The text was updated successfully, but these errors were encountered: