Skip to content

Commit b01f26e

Browse files
committed
Updating Dockerfiles
This commit adds environment for HDF5-openmpi location at configure-time.
1 parent fe459ad commit b01f26e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker/Dockerfile.bionic

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ RUN apt-get -y install fluidity-dev
3030

3131
ENV PETSC_DIR /usr/lib/petscdir/3.8.3
3232
ENV LD_LIBRARY_PATH /usr/lib/petscdir/3.8.3/linux-gnu-c-opt/lib
33+
ENV LDFLAGS -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
34+
ENV CPPFLAGS -I/usr/include/hdf5/openmpi
3335

3436
# Add a Fluidity user who will be the default user for this container
3537
# Make sure the user has a userid matching the host system

docker/Dockerfile.xenial

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ RUN apt-get -y install fluidity-dev
2222

2323
ENV PETSC_DIR /usr/lib/petscdir/3.6.3
2424
ENV LD_LIBRARY_PATH /usr/lib/petscdir/3.6.3/linux-gnu-c-opt/lib
25+
ENV LDFLAGS -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
26+
ENV CPPFLAGS -I/usr/include/hdf5/openmpi
2527

2628
# Add a Fluidity user who will be the default user for this container
2729
# Make sure the user has a userid matching the host system

0 commit comments

Comments
 (0)