Added compilation test for HDF5.

master
Julian M. Kunkel 2018-07-14 11:23:43 +01:00
parent 04ba846da2
commit bd253cf058
3 changed files with 4 additions and 4 deletions

View File

@ -245,6 +245,5 @@ AM_CONDITIONAL([USE_CAPS], [test x$enable_caps = xyes])
AC_CONFIG_FILES([Makefile
src/Makefile
contrib/Makefile
src/test/Makefile
doc/Makefile])
AC_OUTPUT

View File

@ -3,4 +3,5 @@ FROM ubuntu:14.04
WORKDIR /data
RUN apt-get update
RUN apt-get install -y libopenmpi-dev openmpi-bin mpich git pkg-config gcc-4.7 nano make
RUN apt-get install -y sudo
RUN apt-get install -y sudo hdf5-tools libhdf5-mpi-dev

View File

@ -14,8 +14,8 @@ function runTest(){
sudo -u testuser mkdir -p $BUILD/$FLAVOR
pushd $BUILD/$FLAVOR > /dev/null
sudo -u testuser /data/configure || exit 1
sudo -u testuser make || exit 1
sudo -u testuser /data/configure --with-hdf5 CFLAGS=-I/usr/lib/x86_64-linux-gnu/hdf5/openmpi/include LDFLAGS=-L/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib|| exit 1
sudo -u testuser make V=1 || exit 1
#define the alias
ln -sf $(which mpiexec.$FLAVOR) /usr/bin/mpiexec