[Dune] Check for METIS and ParMetis

Christian Engwer christian.engwer at uni-muenster.de
Fri Mar 2 19:24:33 CET 2012


On Fri, Mar 02, 2012 at 05:33:25PM +0000, Eike Mueller wrote:
> Dear Dune-list,
> 
> I have a related problem: On Hector the libraries (in the ParMETIS
> directories, i.e. I'm only using ParMETIS and not a separate METIS
> installation) are called libmetis_gnu.a and libparmetis_gnu.a and
> for this reason ParMETIS is not detected at the configure stage. I
> think I can fix this by running autogen and then replace -lmetis and
> -lparmetis in the configure scripts that are generated, but is there
> a more elegant way, e.g. passing arguments to autogen in the
> configuration file to make sure it uses the correct libraries? Or
> can I edit one of the autogen input files?

it is possible to add extra configure flags to change the
lib-names. For you the quickhack is to open the metis and parmets m4
files and change the libs name there (see attached file).

Christian

> Thanks a lot,
> 
> Eike
> 
> PS: I've already asked Hector support whether they can simply rename
> the libraries to libmetis.a and libparmetis.a or create symbolic
> links, but they are reluctant to do this.
> 
> Christoph GrĂ¼ninger wrote:
> >Hello everyone,
> >I tried to use the checks in dune-common for METIS and ParMETIS. I
> >installed the newest version from [1] followed the install
> >instructions and installed it with prefix=$somewhere.
> >With METIS this went fine but the installed ParMETIS does not
> >provide a header metis.h. I cannot use the one from METIS because
> >the result from METIS is not included in the test for ParMETIS.
> >BTW in the test for ParMETIS some search paths seems to be false.
> >But even if I change these metis.h is not found.
> >Does someone use the tests? What do you different from me?
> >
> >I think the tests metis.m4 and parmetis.m4 from ALUGrid 1.50 are
> >nicer then the tests dune-common provides. Especially the metis
> >test is kind of alien to the other Dune tests. What about useing
> >these in dune-common?
> >Thou the tests from ALUGrid didn't recognize my ParMETIS
> >installation neither. Maybe ParMETIS changes something in PARMETIS
> >version 4?
> >
> >Thanks in advance
> >Christoph
> >
> >[1] http://glaros.dtc.umn.edu/gkhome/views/metis
> >
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metism4.diff
Type: text/x-diff
Size: 731 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120302/8d4f2e57/attachment.diff>


More information about the Dune mailing list