forked from stanfordnqp/maxwell-b
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (20 loc) · 689 Bytes
/
Dockerfile
File metadata and controls
26 lines (20 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM nvidia/cuda:10.0-devel
# Do as much installation as possible to make use of caching as installing
# is very slow.
# A few comments:
# 1) openmpi seems to give trouble so use mpich2.
# 2) Use a virtualenv to avoid outdated system packages (i.e. six).
RUN apt-get update && \
apt-get install -y python3-pip \
python3-setuptools \
libhdf5-serial-dev \
mpich
RUN pip3 install virtualenv
RUN virtualenv -p python3 pyenv
RUN /pyenv/bin/pip3 install numpy
RUN /pyenv/bin/pip3 install pycuda jinja2 h5py mpi4py
RUN /pyenv/bin/pip3 install scipy
WORKDIR /app
COPY . /app
EXPOSE 9041
CMD ["./start_maxwell_docker"]