Page 1 of 1

couldn't run model from modelDB

Posted: Wed Feb 21, 2024 12:18 pm
by m_nadimi
Hello,
I'm new to NEURON and I'm trying to use this model from modelDB.
https://modeldb.science/260967?tab=1

I compiled it with nrnivmodl command. and then I tried to run it with nrngui mosinit.hoc.

but I get this error:
na is not a MECHANISM
in setparam.hoc near line 424
insert na
^
xopen("setparam.hoc")
execute1("{xopen("se...")
load_file("setparam.hoc")
0
/CohenEtAl2020Cell6/x86_64/special: setions undefined function
in setparam.hoc near line 66
setparam()
^
setions()
setparam()
Does any body know how to fix this?
Thanks a lot for your help in advance.

Re: couldn't run model from modelDB

Posted: Wed Feb 21, 2024 1:18 pm
by ted
Many model entries, like this one, include a readme file that contains hints for usage. Delete the nrnmech.dll or .x86_64 directory that was generated when you ran nrnivmodl, and then see if the model authors' instructions are helpful.