Invoking METIS and ParMETIS grid partitioner using alugrid.cfg file
I have metis and parmetis on my system and have used and configured alugrid with the following options (note: on our system, the metis and parmetis are in the same location)
--enable-parallel \ --with-metis=/nasa/parmetis/4.0.3-sles12 \
but the following error message is issued by alumetis.hh at line 92 when option 11 or 13 is used (in line 3 of alugrid.cfg) as the "Graph partitioning method":
"**ERROR The use of METIS_PartGraphKway is not supported, when the METIS library is missing!".
I don't see HAVE_METIS in the config.h.cmake file. Hacking the following in the config.h.cmake file
* Define if we have metis */ #cmakedefine HAVE_METIS 1
/* Define if we have parmetis */ #cmakedefine HAVE_PARMETIS 1
seems to allow us to use option 11 (in line 3 of alugrid.cfg) but not option 13 (i.e., ParMetis) as it looks for Zoltan library:
"ERROR: Zoltan library not found, cannot use Zoltan partitioning!"
So,
-
Does the hack look correct (aside from the warning mentioned in #16 (closed))?
-
Is it possible to invoke ParMetis grid partitioner without installing the Zoltan library?