Hi,
Are you running the “example” compile in a folder where you have a file called example.c?
This would be required for that to execute. I tried with hello.c from spinnaker_tools/apps/hello, which I copied to a new folder and then, from within that folder, ran the make i.e.:
mkdir test_hello
cp spinnaker_tools/apps/hello/hello.c test_hello
cd test_hello
make -f $SPINN_DIRS/make/app.make APP=hello
This then compiled without issue.
In any case, if you want to build new models, the above make step is not necessary; instead you should proceed to installing spinn_common and SpiNNFrontEndCommon, and the instructions beyond this, including setting the NEURAL_MODELLING_DIRS. Compiling a neural model binary is then a bit more complicated, and involves writing a Makefile, which can also be seen in the instructions after this.
Let us know if you continue to have issues,
Andrew :)
--
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 on the web, visit
https://groups.google.com/d/msgid/spinnakerusers/217047eb-8e7b-42ce-92c3-18e5c33e3f71n%40googlegroups.com.
Hi,
Synapse_expander is the first Makefile in the neural_moddelling. This might then suggest that the issue is with the NEURAL_MODELLING_DIRS folder. This should point at the “neural_modelling” folder within sPyNNaker. I would expect from the error message below that this should be:
/home/alberto/sPyNNaker/neural_modelling
Hopefully making sure that is correct will fix the issues.
Andrew :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/spinnakerusers/027e102a-bac0-425e-a5d4-4a97474e3c92n%40googlegroups.com.
Hi,
Yes that is worth a go I guess. Additionally, our latest git code is generally quite stable (tested daily) so you might also want to try that. To get that code fully, the easiest way is to follow these instructions:
https://spinnakermanchester.github.io/development/gitinstall.html
You are likely to already have the C and Python requirements; installing in a virtualenv is recommended just to be sure nothing else is getting in there.
Note that I also use WSL(2) on a Windows machine, and this works well for me so far. It uses environment variables locally in the WSL VM. I do tend to be working on the git version of course, so it might just be that the instructions where you download the zip files are not completely working. I will try to run this in my own environment, but as that isn’t a clean environment it might not fail for me in the same way…
Andrew :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/spinnakerusers/25227b26-193b-44d9-8eb4-ef12922360aan%40googlegroups.com.