Thank you, Satish! That edit was easy to make and the configured and built library works perfectly!
Just a note for new users: the patch to metis.py does not replace the original --download-metis=<bool> argument, but supplements it (i.e. use both). I made this mistake on my first try and METIS was not downloaded. Matt Overholt On Thu, Jan 10, 2019 at 10:35 AM Balay, Satish <ba...@mcs.anl.gov> wrote: > Well - this was the previous default - and was removed as it was deemed > unnecessary. > > > https://bitbucket.org/petsc/petsc/commits/2d4f01c230fe350f0ab5a28d1f5ef05ceab7ea3d > > The attached patch provides --download-metis-use-doubleprecision option > > Satish > > On Thu, 10 Jan 2019, Matthew Overholt via petsc-users wrote: > > > Hello, > > > > How does one configure the PETSc installation to download METIS and have > it > > use REALTYPEWIDTH 64 (as defined in metis.h)? I am using: > > > > --with-64-bit-indices --download-metis=yes > > > > to get IDXTYPEWIDTH 64. If I were installing METIS independently I would > > set the following near the top of metis.h: #define > > METIS_USE_DOUBLEPRECISION > > > > The reason for this is I want to call METIS routines outside of PETSc and > > prefer double precision. > > > > Thanks, > > Matt Overholt > > CapeSym, Inc. > > >