From ca7914558b941889d9954dec1c61b15d42cfb0f8 Mon Sep 17 00:00:00 2001 From: Andreas Naumann <andreas.naumann@tu-dresden.de> Date: Thu, 24 Mar 2011 09:53:30 +0000 Subject: [PATCH] option petc-dev --- AMDiS/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/AMDiS/CMakeLists.txt b/AMDiS/CMakeLists.txt index ea22a478..ac8a9beb 100644 --- a/AMDiS/CMakeLists.txt +++ b/AMDiS/CMakeLists.txt @@ -21,9 +21,10 @@ endif() #option(ENABLE_INTEL "use intel compiler" false) option(ENABLE_OPENMP "use openmp" false) option(ENABLE_PARALLEL_DOMAIN "use parallel domain decomposition" false) +option(USE_PETSC_DEV false) #parmetis is not optional -set(ENABLE_PARMETIS off) -option(ENABLE_ZOLTAN off) +set(ENABLE_PARMETIS false) +option(ENABLE_ZOLTAN false) option(ENABLE_UMFPACK "use umfpack solver" false) option(ENABLE_MKL "use the mkl" false) SET(MKL_DIR "" CACHE PATH "MKL directory") @@ -211,6 +212,9 @@ if(ENABLE_PARALLEL_DOMAIN) SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_PARALLEL_DOMAIN_AMDIS=1") INSTALL(FILES ResolveCompilerPaths.cmake FindPackageMultipass.cmake FindPETSc.cmake DESTINATION share/amdis/) + if( USE_PETSC_DEV ) + SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_PETSC_DEV") + endif( USE_PETSC_DEV) endif(ENABLE_PARALLEL_DOMAIN) if(ENABLE_OPENMP) -- GitLab