[petsc-dev] petsc-dev post from tabrezali at gmail.com requires approval

Smith, Barry F. bsmith at mcs.anl.gov
Mon Aug 26 13:26:12 CDT 2019



> On Aug 26, 2019, at 10:11 AM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> 
> 
> 
> On Sun, 25 Aug 2019 at 18:37, Smith, Barry F. via petsc-dev <petsc-dev at mcs.anl.gov> wrote:
> 
>    Metis is installed. 
> 
> config/PETSc/Configure.py:        self.addDefine('HAVE_'+i.PACKAGE.replace('-','_'), 1)  # ONLY list package if it is used directly by PETSc (and not only by another package)
> 
>     Since metis is not used by PETSc we don't set the PETSC_HAVE_METIS flag because PETSc doesn't need it.
> 
> 
> This is not true, in DMPlex we have an explicit call to METIS_PartGraphKway(). Of course, this code is protected with just HAVE_PARMETIS, because if you have parmetis, then you have metis.

   Hmm, I think is should be protected with HAVE_METIS. There is nothing that says PETSc can only be built with metis plus parmetis; it could be built with just metis.


> 
> 
> -- 
> Lisandro Dalcin
> ============
> Research Scientist
> Extreme Computing Research Center (ECRC)
> King Abdullah University of Science and Technology (KAUST)
> http://ecrc.kaust.edu.sa/



More information about the petsc-dev mailing list