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]))
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_DEFINE(HAVE_PETSC,1,[Define if you have PETSC library])
......@@ -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_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