Last active
August 6, 2018 12:24
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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