Page 1 of 1

NEURON 7.4 1370 vs 1380

Posted: Tue Sep 12, 2017 11:14 am
by ecker.andris
Hi,

I was wondering what are the major differences in 7.4 version 1370 and 1380? After a global upgrade (I guess I upgraded NEURON too), some of my models (mostly the ones with calcium dynamics) failed to reproduce the same spike times...

Is it possible to have multiple installs and change between them without starting to create virtual environments?

Thanks,
AndrĂ¡s

Re: NEURON 7.4 1370 vs 1380

Posted: Tue Sep 12, 2017 1:43 pm
by ted
ecker.andris wrote:what are the major differences in 7.4 version 1370 and 1380?
They're both old and superceded by the most recent 7.5 alpha version. Suggest using that; better, if you can compile from sources, would be to get the latest development code from the git repository.

Code: Select all

git clone https://github.com/nrnhines/iv.git
git clone https://github.com/nrnhines/nrn.git
Note: after installing a different version of NEURON, be sure to recompile the mod files that your models use.
Is it possible to have multiple installs and change between them without starting to create virtual environments?
My PATH environment variable contains (among other stuff)
/home/ted/bin/iv/i686/bin:/home/ted/bin/nrn/i686/bin

In /home/ted/bin I have installed multiple versions of NEURON. At this moment all happen to be able to use the same installation of InterViews, which is installed in /home/ted/iv.

I initially install a new version of NEURON into /home/ted/nrn, then test it. After verifying that it works properly, I change the name of the installation directory so that it includes the version number and any necessary modifiers, e.g.
nrn1515 is a plain vanilla installation of version 1515,
nrn1515ec1 is verson 1515 compiled so that extracellular adds just one layer,
nrn1515mpipy27 is version 1515 configured to use Python 2.74 and MPI (i.e. the configure line was
./configure --prefix=/home/ted/bin/nrn --with-iv=/home/ted/bin/iv --with-nrnpython=/home/ted/bin/p274n/bin/python --with-paranrn
).

Then I use a symbolic link to specify one of these installations, e.g. suppose I want to use v. 1515 with a single extracellular layer. This
cd ~/bin
ln -s nrn1515ec1 nrn
ensures that nrngui or nrniv will launch that particular version.

Re: NEURON 7.4 1370 vs 1380

Posted: Tue Oct 24, 2017 4:52 pm
by ecker.andris
Thank you very much Ted!

Re: NEURON 7.4 1370 vs 1380

Posted: Wed Oct 25, 2017 7:13 am
by ecker.andris
Maybe I'm missing something but there are no configure files in the mentioned git repos and I can't compile them after cloning
using

Code: Select all

./configure
What do I miss?

Re: NEURON 7.4 1370 vs 1380

Posted: Wed Oct 25, 2017 1:16 pm
by ted
cd into the iv repository and execute
./build.sh
Then make and install Interviews.
Next cd into the nrn repo and do the same.

Re: NEURON 7.4 1370 vs 1380

Posted: Wed Oct 25, 2017 1:33 pm
by ecker.andris
Thank you Ted!