Skip to content

Commit

Permalink
Merge pull request #28 from the-virtual-brain/push-on-dockerhub
Browse files Browse the repository at this point in the history
Update docker image version
  • Loading branch information
bogdanvalean1 authored Mar 9, 2020
2 parents 3f3b00e + 03f2ce6 commit 6be6053
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update; apt-get install -y automake libtool build-essential git vim
wget python3.7 libpython3.7 libpython3-dev libncurses5-dev libreadline-dev libgsl0-dev cython3 \
python3.7-dev python3-pip python3-numpy python3-scipy python3-matplotlib python3-nose \
ipython3 python3-venv python-virtualenv python3-pyqt5 python-dev libgsl-dev libncurses-dev \
subversion python3-mpi4py cmake zip unzip; \
subversion cmake zip unzip; \
apt-get clean

RUN wget -q http://www.mpich.org/static/downloads/3.1.4/mpich-3.1.4.tar.gz \
Expand Down
4 changes: 2 additions & 2 deletions docker/cosimulate_tvb_nest.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh

echo "Pulling TVB-Nest docker image"
/apps/daint/system/opt/sarus/1.1.0/bin/sarus pull thevirtualbrain/tvb-nest:0.3.1
/apps/daint/system/opt/sarus/1.1.0/bin/sarus pull thevirtualbrain/tvb-nest:1.0.1

start=$SECONDS

echo "Start docker container"
srun -C mc /apps/daint/system/opt/sarus/1.1.0/bin/sarus --debug run --mpi thevirtualbrain/tvb-nest:0.3.1 /home/docker/env/neurosci/bin/python /home/docker/installation_test.py
srun -C mc /apps/daint/system/opt/sarus/1.1.0/bin/sarus --debug run --mpi thevirtualbrain/tvb-nest:1.0.1 /home/docker/env/neurosci/bin/python /home/docker/packages/tvb-multiscale/docker/installation_test.py

duration=$(( SECONDS - start ))

Expand Down
4 changes: 2 additions & 2 deletions docker/cosimulate_with_staging.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh

echo "Pulling TVB-Nest docker image"
/apps/daint/system/opt/sarus/1.1.0/bin/sarus pull thevirtualbrain/tvb-nest:0.3.1
/apps/daint/system/opt/sarus/1.1.0/bin/sarus pull thevirtualbrain/tvb-nest:1.0.1

start=$SECONDS

echo "Start docker container"
srun -C mc /apps/daint/system/opt/sarus/1.1.0/bin/sarus --debug run --mpi --mount=type=bind,source=$PWD,destination=$PWD thevirtualbrain/tvb-nest:0.3.1 /bin/bash -c "cd $PWD && /home/docker/env/neurosci/bin/python $1"
srun -C mc /apps/daint/system/opt/sarus/1.1.0/bin/sarus --debug run --mpi --mount=type=bind,source=$PWD,destination=$PWD thevirtualbrain/tvb-nest:1.0.1 /bin/bash -c "cd $PWD && /home/docker/env/neurosci/bin/python $1"

duration=$(( SECONDS - start ))

Expand Down

0 comments on commit 6be6053

Please sign in to comment.