Skip to content

Instantly share code, notes, and snippets.

@huangziwei
Last active August 6, 2018 12:24
Show Gist options
  • Save huangziwei/fe3c80d2355fa2e82fdcb947951cb596 to your computer and use it in GitHub Desktop.
Save huangziwei/fe3c80d2355fa2e82fdcb947951cb596 to your computer and use it in GitHub Desktop.
bashs script for installing NEURON simulator on docker/Ubuntu 16.04 with Python
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get install -y autoconf libtool libxext-dev libncurses5-dev bison flex apt-utils wget
cd $HOME
git clone https://github.com/nrnhines/nrn
cd nrn
./build.sh
./configure --prefix=`pwd` --with-nrnpython=/usr/bin/python3 --without-iv
make
make install
cd src
cd nrnpython
python3 setup.py install
export PATH=$HOME/nrn/x86_64/bin:$PATH
chown -R <username> $HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment