#1367 (par-) metis flags missing for alugrid in cmake builds
Metadata
Property | Value |
---|---|
Reported by | Rene Milk (rene.milk@uni-muenster.de) |
Reported at | Sep 30, 2013 12:29 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Last edited at | Oct 20, 2014 17:02 |
Closed by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Closed at | Oct 20, 2014 17:02 |
Closed in version | Unknown |
Resolution | Won't fix |
Comment | As ALUGrid 1.52 is deprecated and became a dune module, it is their decision how to handle ParMETIS flags. |
Description
It seems Find({Par,}METIS) is never called and the two add_dune_{par,}metis macros never used. Therefore I'm getting undefined references when linking my application against an alugrid build with metis support enabled. I've added the finds to DuneCommonMacros.cmake and inserted the add_dune_{par,}metis into AddALUGridFlags.cmake To make this work I've had to disable a setproperty call: dune-common/cmake/modules/AddMETISFlags.cmake:14 (set_property): set_property given invalid argument "PROPERTIES".
Patches: https://github.com/renemilk/dune-common/commit/553f7339cdda3025995f5682a31faf4be1b290c5 https://github.com/renemilk/dune-grid/commit/0bbc358a0e69409ccb86bcaae226e7ff4bac9d54
This is with alugrid 1.52 and cmake version 2.8.10.1