Commit 6b60d554 authored by Pietro Incardona's avatar Pietro Incardona

Fixing PETSC installation

parent 5e9466dc
...@@ -108,16 +108,10 @@ IMMDX_LIB_METIS([],[echo "Cannot detect metis, use the --with-metis option if it ...@@ -108,16 +108,10 @@ IMMDX_LIB_METIS([],[echo "Cannot detect metis, use the --with-metis option if it
IMMDX_LIB_PARMETIS([],[echo "Cannot detect parmetis, use the --with-parmetis option if it is not installed in the default location" IMMDX_LIB_PARMETIS([],[echo "Cannot detect parmetis, use the --with-parmetis option if it is not installed in the default location"
exit 203]) exit 203])
## Check for PETSC
AX_LIB_PETSC()
#########
## Check for HDF5 ## Check for HDF5
AX_LIB_HDF5([parallel]) AX_LIB_HDF5([parallel])
if test x"$with_hdf5" = x"no"; then if test x"$with_hdf5" = x"no"; then
echo "Cannot detect hdf5, use the --with-hdf5 option if it is not installed in the default location" echo "Cannot detect hdf5, use the --with-hdf5 option if it is not installed in the default location"
exit 207 exit 207
...@@ -126,6 +120,12 @@ fi ...@@ -126,6 +120,12 @@ fi
########## ##########
## Check for PETSC
AX_LIB_PETSC()
#########
## Check for quadmath ## Check for quadmath
AC_CHECK_LIB(quadmath, sinq, [AC_DEFINE(HAVE_LIBQUADMATH,[],[Have quad math lib]) AC_CHECK_LIB(quadmath, sinq, [AC_DEFINE(HAVE_LIBQUADMATH,[],[Have quad math lib])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment