Skip to content

Commit

Permalink
Install nrn and nmodl requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jorblancoa committed Feb 14, 2024
1 parent a0dfaa3 commit fcc2ab1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/simulation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ jobs:
- name: Install NEURON
run: |
sudo apt-get install flex libfl-dev bison ninja-build
pip install -U pip setuptools
pip install "cython<3" pytest sympy jinja2
export SONATAREPORT_DIR=$(pwd)/libsonatareport/build/install
git clone https://github.com/BlueBrain/nmodl.git --depth=1
git clone --branch="${NEURON_BRANCH:-master}" https://github.com/neuronsimulator/nrn.git --depth=1
python -m pip install --upgrade pip -r nrn/nrn_requirements.txt
python -m pip install --upgrade -r nmodl/requirements.txt
cd nrn
mkdir build && cd build
cmake -G Ninja -DPYTHON_EXECUTABLE=$(which python) -DCMAKE_INSTALL_PREFIX=$(pwd)/install -DNRN_ENABLE_MPI=ON -DNRN_ENABLE_INTERVIEWS=OFF \
Expand Down

0 comments on commit fcc2ab1

Please sign in to comment.