INCF / MUSIC

MUSIC, the MUltiSimulation Coordinator
GNU General Public License v3.0
37 stars 37 forks source link

Fix POSTPONE Setup #32

Open uahic opened 7 years ago

uahic commented 7 years ago

@mdjurfeldt This PR is not really meant to merge as it is now bug to share the code in order for collaborative debugging;

A fixed PyNN 0.8.1 fork with MUSIC simulator support can be found here:

https://github.com/HBPNeurorobotics/PyNN.git
(music_port_0.8.1 branch)

If there are any issues regarding PyNN and MUSIC compatibility please let me know.

For debugging Ive choosen the example 'music_simple.py' from the PyNN subfolder /examples but of course you are free to use any other as well. However, this music_simple.py is modified such that two NEST simulators are launched instead of a NEST/NEURON pair


In the current version both NEST instances do start independently and it looks like the _MUSICCONFIG is passed and parsed but I get some segmentation faults;

In general I use the following to debug in MPI environments:

mpiexec -np 2 xterm -e "gdb gdb.in python" in the file gdb.in:

set breakpoint pending on break MUSIC::Setup::init run music_simple.py

if you have more advanced debugging techniques please let me know, thank you!