[petsc-dev] [PATCH] suitesparse: fix optional dependence on external metis

Sean Farley sean at mcs.anl.gov
Sun Aug 26 18:15:17 CDT 2012


# HG changeset patch
# User Sean Farley <sean at mcs.anl.gov>
# Date 1346007097 18000
# Node ID 277d25db1566caf7bb107218e3c1901903c0c22f
# Parent  e42470f1227a0a847abd7658b24353ded26f739e
suitesparse: fix optional dependence on external metis

diff --git a/config/packages/UMFPACK.py b/config/packages/UMFPACK.py
--- a/config/packages/UMFPACK.py
+++ b/config/packages/UMFPACK.py
@@ -8,11 +8,12 @@
   def __init__(self, framework):
     config.package.Package.__init__(self, framework)
     self.download  = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/UMFPACK-5.5.1.tar.gz']
     self.liblist   = [['libumfpack.a','libamd.a'],
                       ['libumfpack.a','libcholmod.a','libcamd.a','libccolamd.a','libcolamd.a','libamd.a'],
-                      ['libumfpack.a','libcholmod.a','libcamd.a','libccolamd.a','libcolamd.a','libamd.a','libsuitesparseconfig.a']]
+                      ['libumfpack.a','libcholmod.a','libcamd.a','libccolamd.a','libcolamd.a','libamd.a','libsuitesparseconfig.a'],
+                      ['libumfpack.a','libcholmod.a','libcamd.a','libccolamd.a','libcolamd.a','libamd.a','libsuitesparseconfig.a','libmetis.a']]
     self.functions = ['umfpack_di_report_info','umfpack_dl_symbolic','umfpack_dl_numeric','umfpack_dl_wsolve']
     self.includes  = ['umfpack.h']
     self.complex   = 1
     return
 



More information about the petsc-dev mailing list