Dear Han-Jia,
Thanks a lot for writing in and I apologise for the issues. It sounds like it might be due to an older installed version. We actually plan to release the new NESTML version in the next two weeks. Until then, could I ask you to make sure the latest version is installed by running the following:
python3 -m pip install git+https://github.com/nest/nestml
Please let me know if you run into any trouble—the tutorials should work out of the box with no issues.
With kind regards, Charl
On Wed, Apr 22, 2026, at 11:54, Han-Jia Jiang wrote:
Dear all,
My colleague and I were trying to run a NESTML example, the neuromodulated STDP synapse, as specified here https://github.com/nest/nestml/blob/main/models/synapses/neuromodulated_stdp_synapse.nestml. We encountered some problems.
First we made some workarounds in order to avoid some errors associated with NESTML. We changed *emit_spike(w)* to *emit_spike()* in the synapse model to avoid the following error:
• [15,neuromodulated_stdp_synapse_nestml, ERROR, [33:4;34:4]]: emit_spike() function was called, but with different parameter types than the output port was defined with! Then we added *d ms = 1 ms* and *"delay_variable": {"neuromodulated_stdp_synapse": "d"}* to avoid another set of error:
• [29,neuromodulated_stdp_synapse_nestml__with_iaf_psc_delta_neuron_nestml, ERROR]: Delay variable is not specified for synapse model. • [29,neuromodulated_stdp_synapse_nestml__with_iaf_psc_delta_neuron_nestml, ERROR]: Delay variable 'd' not found in synapse. Finally, we failed during the make stage and could not overcome. I attach the code (adapted from the tutorial https://nestml.readthedocs.io/en/latest/tutorials/stdp_dopa_synapse/stdp_dopa_synapse.html; neuron model as in here https://github.com/nest/nestml/blob/main/models/neurons/iaf_psc_delta_neuron.nestml), as well as the error messages (two files because we tried NEST 3.8 and 3.9 respectively) from the make stage. Could you provide any advice on how to solve this?
Thank you in advance for your help!
Best regards, Han-Jia Jiang
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
*Attachments:* • dopamine.py • NESTBuilder_stderr_nest38.txt • NESTBuilder_stderr_nest39.txt