@@ -64,29 +64,21 @@ RUN sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
64
64
65
65
RUN pip3 install neuron==8.0.1
66
66
67
+
67
68
# ###############################################################################
68
69
# ####### Install c302 for building neuronal network models
69
70
70
- # Pin version of pymongo required for py3.6... TODO remove...
71
- RUN sudo pip install pymongo==4.1.1
72
-
73
- RUN git clone https://github.com/NeuroML/pyNeuroML.git && \
74
- cd pyNeuroML && \
75
- git checkout master && \
76
- sudo python3 setup.py install
77
-
78
71
RUN git clone https://github.com/openworm/c302.git && \
79
72
cd c302 && \
80
- git checkout master && \
73
+ git checkout ow-0.9.3 && \
81
74
sudo pip install .
82
75
83
- # Note: owmeta, owmeta-core and pyNeuroML installed with the above library
76
+ # Note: pyNeuroML installed with the above library
84
77
85
78
RUN pip3 install owmeta-core==0.13.5
86
79
RUN owm bundle remote --user add ow 'https://raw.githubusercontent.com/openworm/owmeta-bundles/master/index.json'
87
80
88
81
89
-
90
82
# ###############################################################################
91
83
# ####### Install Sibernetic for the worm body model
92
84
@@ -108,7 +100,6 @@ ENV SIBERNETIC_HOME=$HOME/sibernetic
108
100
ENV PYTHONPATH=$PYTHONPATH:$HOME/c302:$SIBERNETIC_HOME
109
101
110
102
111
-
112
103
# ###############################################################################
113
104
# ####### Install Intel OpenCL libraries needed for Sibernetic
114
105
@@ -137,20 +128,9 @@ RUN cd sibernetic && \
137
128
sed -i -e "s/n2.7/n3.10/g" makefile && \
138
129
make clean && make all # Use python 3 libs
139
130
140
- # intel i5, hd 5500, linux 4.15.0-39-generic
141
- # ./Release/Sibernetic -f worm -no_g device=CPU 190ms
142
- # ./Release/Sibernetic -f worm -no_g device=GPU 150ms (initialization takes some time)
143
-
144
- # Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, linux 4.4.0-139-generic
145
- # ./Release/Sibernetic -f worm -no_g device=CPU 60ms
146
- #
147
- # after installing the nvidia driver used in host:
148
- # # wget http://us.download.nvidia.com/tesla/390.30/nvidia-diag-driver-local-repo-ubuntu1604-390.30_1.0-1_amd64.deb
149
- # # sudo dpkg -i nvidia-diag-driver-local-repo-ubuntu1604-390.30_1.0-1_amd64.deb
150
- # # sudo apt-key add /var/nvidia-diag-driver-local-repo-390.30/7fa2af80.pub
151
- # # sudo apt-get update
152
- # # sudo apt-get install -y cuda-drivers
153
- # ./Release/Sibernetic -f worm -no_g device=GPU 37ms
131
+
132
+ # ###############################################################################
133
+ # ####### Copy master python script
154
134
155
135
# Not working with --chown=$USER:$USER
156
136
COPY ./master_openworm.py $HOME/master_openworm.py
0 commit comments