Hi all, I'm wondering.. Is it possible to get SuiteSparse to use Metis at 
configure time with PETSc? Using Metis for reordering at symbolic factorization 
phase gives lower filling for factorization matrices than AMD in some cases 
(faster solution phase).
I tried this with gcc compilers and openmpi:

$./configure LDFLAGS="-ld_classic" COPTFLAGS="-O2 -g" CXXOPTFLAGS="-O2 -g" 
FOPTFLAGS="-O2 -g" --with-debugging=0 --with-shared-libraries=0 
--download-metis --download-suitesparse --download-hypre --download-fblaslapack 
--download-make --force

and get for SuiteSparse:

metis:
  Version:    5.1.0
  Includes:   -I/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/include
  Libraries:  
-Wl,-rpath,/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib 
-L/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib -lmetis
SuiteSparse:
  Version:    7.7.0
  Includes:   
-I/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/include/suitesparse 
-I/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/include
  Libraries:  
-Wl,-rpath,/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib 
-L/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib -lspqr -lumfpack 
-lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig

for which I see Metis will be compiled but I don't have -lmetis linking in the 
SuiteSparse Libraries.
Thank you for your time!
Marcos

Reply via email to