Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@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 MUSIC_CONFIG 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!