Skip to content

Installing NEURON (version 7.6.2 with crxd)

Salvador Dura-Bernal edited this page Apr 15, 2019 · 8 revisions

NetPyNE UI has been fully tested on version 7.6.2 of NEURON, with Python 3. NetPyNE UI is only compatible with Python 3.

The 7.6.2 version of NEURON includes support for the C implementation of RxD (crxd). NetPyNE UI will still work with previous versions of NEURON but the RxD functionalities won't be supported. NetPyNE UI will also likely work with later versions of NEURON, but these haven't been thoroughly tested.

To install NEURON version 7.6.2 on Linux or MacOs run:

git clone --branch 7.6.2 https://github.com/neuronsimulator/nrn.git
cd nrn
./build.sh
./configure --without-x --with-nrnpython=python3 --with-paranrn --prefix="/path_where_you_installed_nrn/" --without-iv
make --silent -j4
make --silent install -j4 
export PATH=$PATH:/path_where_you_installed_nrn/x86_64/bin
cd src/nrnpython
python setup.py install

Note that this will install NEURON without Interviews (iv), which is not needed for NetPyNE UI.

It also installs NEURON with support for parallel simulations, which requires having MPI installed in your system OpenMPI. If you would like remove parallel support, replace the 4th line above with the following:

./configure --without-x --with-nrnpython=python3 --without-paranrn --prefix="/path_where_you_installed_nrn/" --without-iv

If you want to further customize the instructions above to install different options please refer to the official NEURON documentation.

You can’t perform that action at this time.