Commit 4e52f3d9 authored by Kilian Lackhove's avatar Kilian Lackhove

PETSC: link dynamically and use scotch instead of metis.

metis conflicts with our modmetis dependency, no idea what happens when we
build Nektar++ with scotch.
parent cf0c1507
......@@ -63,18 +63,18 @@ IF (NEKTAR_USE_PETSC)
--with-cc=${PETSC_C_COMPILER}
--with-cxx=${PETSC_CXX_COMPILER}
--with-shared-libraries=1
--with-pic=1
--with-x=0
--with-ssl=0
--prefix=${TPDIST}
--with-petsc-arch=c-opt
--download-scalapack
--download-metis
--download-parmetis
--download-ptscotch
--download-mumps
${PETSC_NO_MPI}
BUILD_COMMAND MAKEFLAGS= make)
SET(PETSC_LIBRARIES petsc cmumps dmumps smumps zmumps mumps_common parmetis metis scalapack pord gfortran CACHE FILEPATH
SET(PETSC_LIBRARIES petsc CACHE FILEPATH
"PETSc library" FORCE)
SET(PETSC_INCLUDES ${TPDIST}/include CACHE FILEPATH
"PETSc includes" FORCE)
......
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