$ nrniv mosinit.hoc
...
nrniv: syntax error
in ModelTypeI.hoc near line 130
insert nax gbar_nax=gna * AXONM sh_nax=nash
Under linux, the compiled mod files are not loaded when nrniv is directly launched
(the exception is when launching with the
-mpi option when running under mpiexec.)
Instead, one typically launches using
nrngui mosinit.hoc
which is a script that launches the
i686/special script which launches
nrniv with the proper -dll argument that dynamically loads i686/.libs/nrnmech.so
You can tell you have loaded the mod files because they are listed just after the banner. As in
Code: Select all
[hines@localhost bulb1]$ nrngui
NEURON -- VERSION 6.2.972 (1918) 2007-12-15 (1918M)
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2007
See http://www.neuron.yale.edu/credits.html
loading membrane mechanisms from /home/hines/bulb1/x86_64/.libs/libnrnmech.so
Additional mechanisms from files
ampanmda.mod fi.mod kamt.mod kdrmt.mod naxn.mod ThreshDetect.mod
oc>