Skip to content
Snippets Groups Projects
Commit 20d84c4e authored by Franck Pérignon's avatar Franck Pérignon
Browse files

[ci skip] update dockerfile for debian

parent 147f5e93
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ MAINTAINER Franck.Perignon@imag.fr
# we need cmake, python ...
RUN apt-get update && apt-get install -y \
cmake\
ssh\
python-dev\
libblas-dev\
python\
......@@ -19,6 +20,7 @@ RUN apt-get update && apt-get install -y \
openmpi-bin\
libopenmpi-dev\
libhdf5-openmpi-dev\
cython\
python-numpy\
python-scipy\
python-pyopencl\
......@@ -26,19 +28,23 @@ RUN apt-get update && apt-get install -y \
libfftw3-dev\
libfftw3-mpi-dev\
python-pytest\
cython\
wget
wget && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
RUN pip install --upgrade setuptools
RUN pip install mpi4py
RUN pip install sphinx
RUN pip install wheel
RUN wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
RUN tar -zxvf h5py-2.6.0.tar.gz
RUN cd h5py-2.6.0
RUN export CC=mpicc
RUN python setup.py configure --mpi --hdf5=/usr/
RUN python setup.py install
RUN wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz && \
tar -zxvf h5py-2.6.0.tar.gz && \
cd h5py-2.6.0 && \
export CC=mpicc && \
export CFLAGS="-I/usr/include/hdf5/openmpi/"&& \
export LDFLAGS="-L /usr/lib/x86_64-linux-gnu/hdf5/openmpi/"&& \
python setup.py configure --mpi --hdf5=/usr/ && \
python setup.py install && \
cd .. && \
rm -rf h5py-2.6.0*
RUN cd ..
CMD ["/bin/bash"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment