Hi Chris,
NEST_MLMODULES is not an environment variable used by NEST or NESTML, so it shouldn't affect anything. To help NEST find the "nestmlmodule.so" file that is generated by NESTML, you can use LD_LIBRARY_PATH (on the Mac: DYLD_LIBRARY_PATH) to specify the path.
Please let us know if this helps.
With kind regards, Charl
On Thu, Feb 6, 2025, at 12:29, Chris Huyck wrote:
I’ve been using nestml with pynn and nest for some time. I think I built a new model (combining a synapse and a neuron) and it broke nest.
So, I can start an environment that has nest, and run nest (sli), pynest and pynn files with nest.
However, if I export NEST_MLMODULES=nestmlmodule it breaks nest (sli).
That is, I invoke nest, and it says it can’t find nestmlmodule.
However, if I start a new shell, and do not export NEST_MLMODULES I can run python, import nest, then nest.Install(“./nestmlmodule”) # in the right directory neuron = nest.Create(“iaf_cond_beta_neuron”)
If I then export NEST_MLMODULES=nestmlmodule I can’t import nest from python.
Somewhere in the middle of all this, I reran nestml to create just the iaf_cond_beta_neuron, so that’s the library I’m using. I’m pretty sure that library works fine.
Any idea how to fix it? -Chris
*From:* Chris Huyck C.Huyck@mdx.ac.uk *Sent:* 31 January 2025 12:10 *To:* NEST User Mailing List users@nest-simulator.org *Subject:* [NEST Users] Re: nestml synapses in pyNN
I’m trying to use my own short term potentiation model with an existing model. The model is the IF_cond_exp model from PyNN. I tried your nestml integrate and fire models from Git…/nestml/master/models/neurons, and none seem to be the IF_cond_exp model. The closest I could find was the iaf_cond_beta_neuron. Am I missing something. Is the IF_cond_exp model done somewhere in nestml? (I’m relatively vested in that IF_cond_exp model. I need the nestml neuron model before I can properly use the nestml synapse model.) -Chris
*From:* Charl Linssen nest-users@turingbirds.com *Sent:* 23 July 2024 11:25 *To:* users@nest-simulator.org *Subject:* [NEST Users] Re: nestml synapses in pyNN
You don't often get email from nest-users@turingbirds.com. Learn why this is important https://aka.ms/LearnAboutSenderIdentification
Hi Chris,
Thank you for writing in! It would be great to have a better compatibility and better documentation for using NESTML models in pyNN, but as of now this is not yet in place, please let us know if you have any tips or experience to share.
On SpiNNaker, only neuron models are supported for now, we have an open position for a student project to implement synaptic plasticity as well!
With kind regards, Charl
On Mon, Jul 22, 2024, at 16:32, Chris Huyck wrote:
I’ve taken your noisy_synapse model and got that to run in pyNest. When I try it in PyNN it fails (can’t find weight if you set w, weight not an argument if you use weight). I understand that you don’t support pyNN. Do you support SpiNNaker (as it’s a target)? If so, how do you access the model on SpiNNaker? (I only access SpiNNaker through PyNN).
-Chris
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org