Skip to content
Snippets Groups Projects
Commit 3097ea18 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

fixing installation without linear algebra

parent 458b907e
No related branches found
No related tags found
No related merge requests found
......@@ -122,13 +122,6 @@ if test x"$with_hdf5" = x"no"; then
exit 207
fi
##########
## Check for PETSC
AX_LIB_PETSC()
#########
###### Check for test coverage
......@@ -314,6 +307,12 @@ AX_LAPACK([],[])
AX_SUITESPARSE([],[])
##########
## Check for PETSC
AX_LIB_PETSC()
###### Checking for EIGEN
AX_EIGEN([],[])
......
......@@ -105,7 +105,7 @@ AC_DEFUN([AX_LIB_PETSC], [
AX_OPENMP([CFLAGS="$OPENMP_CFLAGS"
LDFLAGS="$OPENMP_LDFLAGS"],[])
CFLAGS="$CFLAGS -I$with_petsc/include $HDF5_INCLUDE $METIS_INCLUDE "
LDFLAGS="$LDFLAGS -L$with_petsc/lib $HDF5_LDFLAGS $HDF5_LIBS $METIS_LIB -lmetis "
LDFLAGS="$LDFLAGS -L$with_petsc/lib $HDF5_LDFLAGS $HDF5_LIBS $METIS_LIB -lmetis $SUITESPARSE_LIBS"
CC=$CXX
AC_LANG_SAVE
......
......@@ -10,6 +10,8 @@
#include "DMatrix/EMatrix.hpp"
#include "memory/HeapMemory.hpp"
#ifdef HAVE_EIGEN
BOOST_AUTO_TEST_SUITE (EMatrix_test)
BOOST_AUTO_TEST_CASE( EMatrix_test_use)
......@@ -102,3 +104,5 @@ BOOST_AUTO_TEST_CASE( EMatrix_test_use)
BOOST_AUTO_TEST_SUITE_END()
#endif
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