Skip to content

Commit

Permalink
refactor: debugging NEURON installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Dec 12, 2021
1 parent 965e831 commit e30e908
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ jobs:
g++ \
make \
mpi \
mpich \
mpi-default-bin \
libmpich-dev
python -m pip install neuron
which nrniv
# install package
- name: Install the package
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile-neuron
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ RUN apt-get update -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*

# set NEURON_HOME
ENV NEURON_HOME=/usr/local

# Copy code for command-line interface into image and install it
COPY . /root/Biosimulators_pyNeuroML
RUN pip install /root/Biosimulators_pyNeuroML[neuron] \
Expand Down
14 changes: 9 additions & 5 deletions docs-src/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@ Second, install the following additional programs to use NetPyNe and NEURON:

* NEURON

* gcc
* g++
* make
* ``gcc``
* ``g++``
* ``make``

* NetPyNe

* All of the above
* mpi
* libmpich-dev
* ``libmpich-dev``
* ``mpi``
* ``mpi-default-bin``
* ``mpich``

Third, set ``NEURON_HOME`` to the parent directory of the ``nrniv`` executable, up to but not including ``bin`` (e.g., ``NEURON_HOME=$(which nrniv | rev | cut -d '/' -f 3- | rev)``).

Third, run the following command to install BioSimulators-pyNeuroML:

Expand Down

0 comments on commit e30e908

Please sign in to comment.