From fc882dfd6c1dfe340f3db675b9d3974d197a415f Mon Sep 17 00:00:00 2001 From: Steffen Graber Date: Wed, 5 Jul 2023 07:28:55 +0200 Subject: [PATCH] System hdf5 --- src/3.5/Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/3.5/Dockerfile b/src/3.5/Dockerfile index b48d8a7..58f760a 100644 --- a/src/3.5/Dockerfile +++ b/src/3.5/Dockerfile @@ -11,12 +11,6 @@ RUN cd ${SRC_PATH} && tar -xzf v${NEST_VERSION}.tar.gz && ls -l RUN python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/doc/requirements.txt && \ python3 -m pip install sphinx_gallery==0.10.1 -#-DHDF5_DIR=/opt/hdf5 \ -#-DHDF5_LIBRARIES=/opt/hdf5/lib \ -#-DHDF5_INCLUDE_DIRS=/opt/hdf5/include \ -ARG HDF5_DISABLE_VERSION_CHECK=2 -ENV HDF5_ROOT=/opt/hdf5 -#ENV PATH="${PATH}:/opt/hdf5" RUN mkdir nest-build && cd nest-build && \ cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/nest \ -Dwith-warning=ON \ @@ -30,7 +24,7 @@ RUN mkdir nest-build && cd nest-build && \ -Dwith-openmp=ON \ -Dwith-libneurosim=OFF \ -Dwith-music=/opt/music-install \ - -Dwith-hdf5=/opt/hdf5 \ + -Dwith-hdf5=ON \ ${SRC_PATH}/nest-simulator-${NEST_VERSION} && \ make -j $(nproc) && \ make docs && \ @@ -44,9 +38,6 @@ RUN mkdir nest-build && cd nest-build && \ FROM docker-registry.ebrains.eu/nest/nest-simulator:nest-simulator-deploy-base LABEL maintainer="s.graber@fz-juelich.de" -ENV HDF5_DISABLE_VERSION_CHECK=1 -ENV HDF5_ROOT=/opt/hdf5 - COPY --from=builder /opt/nest /opt/nest COPY --from=builder /opt/music-install /opt/music-install # COPY --from=builder /opt/hdf5 /opt/hdf5