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