Page 1 of 1

source code for built-in mechanisms

Posted: Tue Jul 20, 2010 7:15 pm
by mattmc88
New problem. I have an installation of NEURON on a linux machine. On this machine, I couldn't find the files for AlphaSynapse (Syn.mod) or Exp2Syn (exp2syn.mod). I searched for the text string 'AlphaSynapse' in the neuron folder, which came up with the file 'libnrnoc.so.0.0.0.' I read about shared libraries, and now understand that the mod files are probably collapsed into this shared library.

Is my interpretation correct?

If so, how do I get at the mod files, and create a new one that is part of the shared library?

Thanks again,

Matt

Re: source code for built-in mechanisms

Posted: Tue Jul 20, 2010 8:13 pm
by ted
Presumably you used the rpm to install NEURON. If you need the source code for the built-in mechanisms, download the corresponding tar.gz file and expand it
tar xzf whatever.tar.gz
You'll find the mod files in
nrn-x.x/src/nrnoc