Hi Raymond,
You will find the MyModule code in the examples subdirectory in the nest-2.20.1 sources. For NEST 3, we have moved extension module code out of the NEST repository to its own: https://github.com/nest/nest-extension-module
Instead of writing your own module to implement a kernel function for the NEST topology module, you might want to consider to switch to NEST 3 right away (using the sources from the NEST master branch). NEST 3 allows you to specify essentially arbitrary kernel functions at the C++ level. See
https://nest-simulator.readthedocs.io/en/latest/guides/nest2_to_nest3/nest2_... https://nest-simulator.readthedocs.io/en/latest/guides/nest2_to_nest3/nest2_... https://nest-simulator.readthedocs.io/en/latest/guides/spatial/guide_spatial...
Best, Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser Head, Department of Data Science
Faculty of Science and Technology Norwegian University of Life Sciences PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560 Email hans.ekkehard.plesser@nmbu.no Home http://arken.nmbu.no/~plesser
On 24/02/2021, 16:29, "raymond.hawkins@mail.utoronto.ca" raymond.hawkins@mail.utoronto.ca wrote:
Hello,
I would like to add a kernel function to use with NEST topology, and am attempting to follow the instructions at http://nest.github.io/nest-simulator/extension_modules and https://nest-simulator.readthedocs.io/en/nest-2.20.1/topology/Topology_UserM..., which both mention the MyModule example in the examples folder of the NEST distributable. However, I can't find such an example in my local NEST files, or in the github repository (https://github.com/nest/nest-simulator).
Is there another location I should be looking in for this example, or would someone be kind enough to send me the necessary files?
Many thanks, Raymond Hawkins _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org