Commit b690d07c authored by Pietro Incardona's avatar Pietro Incardona

Numerics with paetsc

parent 905bfba7
......@@ -119,9 +119,9 @@ AC_MSG_WARN([could not find header file petsc.h]))
CC=$old_CC
AC_MSG_CHECKING(PETSC in $with_petsc)
if test "$petsc_lib" = "yes" -a "$petsc_h" = "yes" ; then
if test x"$petsc_lib" = x"yes" -a x"$petsc_h" = x"yes" ; then
AC_SUBST(PETSC_INCLUDE, [-I$with_petsc/include])
AC_SUBST(PETSC_LIB, [-L$with_petsc/lib])
AC_SUBST(PETSC_LIB, ["-L$with_petsc/lib -lpetsc"])
AC_MSG_RESULT(ok)
AC_DEFINE(HAVE_PETSC,1,[Define if you have PETSC library])
else
......
......@@ -5,7 +5,7 @@ noinst_PROGRAMS = numerics
numerics_SOURCES = main.cpp ../../openfpm_vcluster/src/VCluster.cpp ../../openfpm_devices/src/memory/HeapMemory.cpp ../../openfpm_devices/src/memory/PtrMemory.cpp ../../openfpm_devices/src/Memleak_check.cpp
numerics_CXXFLAGS = $(AM_CXXFLAGS) $(HDF5_CPPFLAGS) $(INCLUDES_PATH) $(BOOST_CPPFLAGS) $(SUITESPARSE_INCLUDE) $(METIS_INCLUDE) $(PARMETIS_INCLUDE) $(EIGEN_INCLUDE) $(PETSC_INCLUDE) -Wno-deprecated-declarations -Wno-unused-local-typedefs
numerics_CFLAGS = $(CUDA_CFLAGS)
numerics_LDADD = $(LINKLIBS) -lparmetis -lmetis
numerics_LDADD = $(LINKLIBS)
nobase_include_HEADERS = PSE/Kernels.hpp PSE/Kernels_test_util.hpp
.cu.o :
......
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