`#ifdef PARMETIS_MAJOR_VERSION` used before defined
From dune/grid/utility/parmetisgridpartitioner.hh
:
#if HAVE_PARMETIS
// only enable for ParMETIS because the implementation uses functions that
// are not emulated by scotch
#ifdef PARMETIS_MAJOR_VERSION
#include <parmetis.h>
But PARMETIS_MAJOR_VERSION
is only provided by the #include <parmetis.h>
(and this file is the only place in dune-grid
where parmetis.h
is included).
Does scotch also provide parmetis.h
? Then the order could just be changed.