Hello,
I would like to make a suggestion for future development. Now there is a Python interface, but some of us have been working with C/C++ for many years (and we have a lot of data processing software developed in this language).
Please, could you include a C/C++ interface for NEST?
Thanks a lot in advance!
Xavier
Hello Xavier,
Please have a look at https://github.com/nest/nest-simulator/blob/master/nestkernel/nest.h / .cpp . This is intended to provide a C/C++ API for nest. It is not complete, as far as i remember, and might be issue to backward incompatible changes. As an example, you can look at https://github.com/nest/nest-simulator/blob/master/nest/neststartup.cpp and see nest specific interactions are either implemented using functions from nest.h or from the individual managers via the https://github.com/nest/nest-simulator/blob/master/nestkernel/kernel_manager... accessable via nest.h). The other code deals with setting up the SLI engine and making modules available in the engine.
On installation please have a look at <prefix>/lib/ and <prefix>/includes/ for necessary libs and headers. I think there was also something like `nest-config` script in <prefix>/bin that can help with getting the correct flags.
I hope this is a headstart for you to try the API. I am very interested your experiences with it.
Best, Tammo
Dear Tammo,
I would be interested in the C++ interface, too. I talked to Xavier and he gave up on this project. For external people it is very hard to understand what has to be done. Could you provide some minimal example, like a small scale network (e.g. spike source population connected to another population)? I think this would help enormously.
Best Christoph
On 20/08/2019 23:41, Tammo Ippen wrote:
If you what you want to do is to create a stand alone binary, I can point to you my repository on GitHub next week.
On Fri, Sep 20, 2019 at 18:38 Christoph Ostrau christoph.jenzen@gmail.com wrote:
Christoph,
Would you check out my branch, for-gem5 from github.com/ikitayama/nest-simulator and take it from there.
With help from Hans, I tried to implement a simulation described in hpc_benchmark.sli, but without adding the .sli file to the nest executable: https://github.com/ikitayama/nest-simulator/blob/for-gem5/nest/main.cpp
Hope this still helps, Itaru.
On Mon, Sep 23, 2019 at 11:08 PM Christoph Ostrau < christoph.jenzen@gmail.com> wrote: