KarypisLab/METIS

Link Metis without linking GKlib

Opened this issue · 2 comments

Is there some way to build metis and GKlib so that I can link my program to just metis without also linking GKlib? I can't seem to figure out how to do this.

METIS requires functionality provided by GKlib. You could potentially remove it by merging the projects together, but that is almost certainly more work than figuring out how to link GKlib in your environment.

I know that, but I would like it to be possible to link GKlib to metis such that the resulting metis library doesn't contain unresolved symbols that require me to also link GKlib to my own program. In the context my program is often used, metis is often available as a module that does not require linking to GKlib. This unfortunately means that the cmake configuration of my program can't easily just link to GKlib.