NEURON 7.4 1370 vs 1380

Post Reply
ecker.andris
Posts: 10
Joined: Tue May 10, 2016 10:49 am

NEURON 7.4 1370 vs 1380

Post 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
Last edited by ecker.andris on Tue Oct 24, 2017 4:52 pm, edited 1 time in total.
ted
Site Admin
Posts: 6286
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: NEURON 7.4 1370 vs 1380

Post 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.
ecker.andris
Posts: 10
Joined: Tue May 10, 2016 10:49 am

Re: NEURON 7.4 1370 vs 1380

Post by ecker.andris »

Thank you very much Ted!
ecker.andris
Posts: 10
Joined: Tue May 10, 2016 10:49 am

Re: NEURON 7.4 1370 vs 1380

Post 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?
ted
Site Admin
Posts: 6286
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: NEURON 7.4 1370 vs 1380

Post 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.
ecker.andris
Posts: 10
Joined: Tue May 10, 2016 10:49 am

Re: NEURON 7.4 1370 vs 1380

Post by ecker.andris »

Thank you Ted!
Post Reply