Search found 110 matches

by pascal
Sat Feb 11, 2017 10:02 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Accessing a variable from hoc that is not defined in NMODL
Replies: 5
Views: 9059

Re: Accessing a variable from hoc that is not defined in NMO

Oh I see, that explanation makes perfect sense. Thank you very much for the help. And yes, this model has been used to generate published results. I am currently going back and re-running with gmax_IhPyrKop = 0.1, and I will see whether this affects simulation results. Thank you both again for the h...
by pascal
Fri Feb 10, 2017 10:19 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Accessing a variable from hoc that is not defined in NMODL
Replies: 5
Views: 9059

Accessing a variable from hoc that is not defined in NMODL

I am translating a hoc model (that I inherited) into Python, and I am having some trouble with a custom mod file. The hoc code references the mod file (which defines a mechanism named "IhPyrKop") in the following way: insert IhPyrKop soma{ gh_IhPyrKop = 0.1 v50_IhPyrKop = -82 } The only pr...
by pascal
Mon Feb 06, 2017 7:48 pm
Forum: NEURON + Python
Topic: Creating NetCon with null source in NEURON+Python
Replies: 10
Views: 18228

Re: Creating NetCon with null source in NEURON+Python

Great, thanks so much for the thorough explanation. I feel like when it comes to NEURON's integration schemes, I now harbor fewer unknown unknowns, more known unknowns, and maybe even one or two known knowns. :-)
by pascal
Mon Feb 06, 2017 9:48 am
Forum: NEURON + Python
Topic: Creating NetCon with null source in NEURON+Python
Replies: 10
Views: 18228

Re: Creating NetCon with null source in NEURON+Python

Thanks, this works perfectly now. I really appreciate the help. I am curious why importing gui automatically creates an instance of CVode. I know CVode implements adaptive time step numerical integration, with a separate "stream" for each neuron in the simulation. Is CVode the default nume...
by pascal
Fri Feb 03, 2017 11:12 am
Forum: NEURON + Python
Topic: Creating NetCon with null source in NEURON+Python
Replies: 10
Views: 18228

Re: Creating NetCon with null source in NEURON+Python

That is really helpful--thank you! One more question, though. I am having trouble getting this newly-crated NetCon to actually do anything. Using the following code from neuron import h, gui soma=h.Section() soma.insert('pas') syn=h.ExpSyn(soma(0.5)) #create netcon h("objref nil") nil=h.ni...
by pascal
Wed Feb 01, 2017 9:52 am
Forum: NEURON + Python
Topic: Creating NetCon with null source in NEURON+Python
Replies: 10
Views: 18228

Creating NetCon with null source in NEURON+Python

I am trying to translate the following hoc code into Python (where nil is an unassigned objref, and syn is some generic synapse): nc=new NetCon(nil, syn) I initially tried nc=h.NetCon(None,syn) but I received a "hoc error" . Then, after reading https://www.neuron.yale.edu/phpBB/viewtopic.p...
by pascal
Tue Nov 08, 2016 11:17 am
Forum: UNIX/Linux
Topic: Which version of mpich2 is recommended for NEURON 7.4?
Replies: 1
Views: 10246

Which version of mpich2 is recommended for NEURON 7.4?

I am attempting to install NEURON in Linux for the first time, and I need it to work with mpich2. I've searched the documentation, but I can't find which version is best for NEURON 7.4. Does it matter?
by pascal
Sat Oct 29, 2016 6:58 pm
Forum: UNIX/Linux
Topic: unable to execute 'mpicc': No such file or directory
Replies: 5
Views: 21599

Re: unable to execute 'mpicc': No such file or directory

Whoops...yes, I meant /usr/lib64/openmpi/lib was in LD_LIBRARY_PATH. Okay, I re-installed openmpi from source, putting it in /usr/local/openmpi. Then I installed interviews in ~/local/iv. No problem. Then I tried installing nrn in ~/local/nrn, so that I would not have to use sudo to install it. Unfo...
by pascal
Fri Oct 28, 2016 1:48 pm
Forum: UNIX/Linux
Topic: unable to execute 'mpicc': No such file or directory
Replies: 5
Views: 21599

Re: unable to execute 'mpicc': No such file or directory

I checked, and /usr/lib64/openmpi/bin is already included in LD_LIBRARY_PATH. To install openmpi, I simply executed the command yum install openmpi openmpi-devel, and it apparently installed it in /usr/lib64. Should I perhaps uninstall it and then re-install in /usr/local ?
by pascal
Thu Oct 27, 2016 6:16 pm
Forum: UNIX/Linux
Topic: unable to execute 'mpicc': No such file or directory
Replies: 5
Views: 21599

unable to execute 'mpicc': No such file or directory

I am trying to install NEURON on CentOS 7. I need it to have parallel capabilities and work with Python, so I am following these steps: 1. Clone InterViews and NEURON sources into the current directory: hg clone http://www.neuron.yale.edu/hg/neuron/iv hg clone http://www.neuron.yale.edu/hg/neuron/nr...
by pascal
Wed May 25, 2016 11:14 am
Forum: UNIX/Linux
Topic: Installing NEURON on ROCKS cluster
Replies: 4
Views: 12297

Re: Installing NEURON on ROCKS cluster

Thanks for all the help, Michael. Just so everyone else can benefit, the solution was to issue the following installation commands in the /share/apps directory (installing in this directory makes the program available to all compute nodes in Rocks): ./configure --prefix=/share/apps/neuron-73 --with-...
by pascal
Sun May 22, 2016 12:50 pm
Forum: UNIX/Linux
Topic: Installing NEURON on ROCKS cluster
Replies: 4
Views: 12297

Re: Installing NEURON on ROCKS cluster

It turns out I spoke too soon. I *thought* everything was working fine because my simulations seemed to start all right, but then they crashed with the error message ./special: line 13: 18039 Killed “${NRNIV}” –dll “/share_home/cgfink/Documents/hfo/base_code/mod/x86_64/.libs/libnrnmech.so” “$@” Base...
by pascal
Wed May 18, 2016 2:32 pm
Forum: UNIX/Linux
Topic: Installing NEURON on ROCKS cluster
Replies: 4
Views: 12297

Re: Installing NEURON on ROCKS cluster

I figured out a simple solution. I just deleted the installation from the /exports/apps directory, and re-installed in the /share/apps directory. Everything works fine now.
by pascal
Tue May 17, 2016 1:10 pm
Forum: UNIX/Linux
Topic: Installing NEURON on ROCKS cluster
Replies: 4
Views: 12297

Installing NEURON on ROCKS cluster

I recently installed NEURON 7.3 on our small ROCKS cluster (running CentOS). I can run simulations just fine on the head node, but I cannot get NEURON to work on any other nodes. I get the following error message: /export/apps/neuron-73/x86_64/bin/nrniv: No such file or directory I believe the issue...
by pascal
Wed Jan 15, 2014 9:56 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Setting the global index with Random123
Replies: 1
Views: 1838

Setting the global index with Random123

A few years ago I went to the NEURON tutorial in La Jolla and received help writing a mod file which stimulated noisy synaptic events to a cell. It uses Random123, but there are no hoc calls to Random123--everything is done within the mod file. Within the INITIAL section, the two "identifier&qu...