Added compilation test for HDF5.
parent
04ba846da2
commit
bd253cf058
|
@ -245,6 +245,5 @@ AM_CONDITIONAL([USE_CAPS], [test x$enable_caps = xyes])
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
contrib/Makefile
|
contrib/Makefile
|
||||||
src/test/Makefile
|
|
||||||
doc/Makefile])
|
doc/Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -3,4 +3,5 @@ FROM ubuntu:14.04
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
RUN apt-get update
|
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 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
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ function runTest(){
|
||||||
sudo -u testuser mkdir -p $BUILD/$FLAVOR
|
sudo -u testuser mkdir -p $BUILD/$FLAVOR
|
||||||
|
|
||||||
pushd $BUILD/$FLAVOR > /dev/null
|
pushd $BUILD/$FLAVOR > /dev/null
|
||||||
sudo -u testuser /data/configure || 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 || exit 1
|
sudo -u testuser make V=1 || exit 1
|
||||||
|
|
||||||
#define the alias
|
#define the alias
|
||||||
ln -sf $(which mpiexec.$FLAVOR) /usr/bin/mpiexec
|
ln -sf $(which mpiexec.$FLAVOR) /usr/bin/mpiexec
|
||||||
|
|
Loading…
Reference in New Issue