CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   BuildingLinking of ParMETIS and metis50pre2 (https://www.cfd-online.com/Forums/openfoam-bugs/62505-buildinglinking-parmetis-metis50pre2.html)

mwild January 25, 2008 08:48

Hi all Does anybody know as
 
Hi all

Does anybody know as to why in applications/utilities/parallelProcessing/decompositionMethods

- first libmetis.so is built from metis-5.0pre2
- then libdecompositionMethods.so is linked against that
- followed by building libmetis.so from parMetisDecomp/ParMetis-3.1/METISLib which overwrites $FOAM_LIBBIN/libmetis.so

Consequently, everything will load libmetis.so built from ParMetis when it runs since the metis-5.0 version is no longer around.

Does any of you know any specific reason as to why this is done so? Why not build/link libdecompositionMethods.so against libmetis.so provided by ParMetis in the first place?

Michael

mattijs January 28, 2008 16:05

Thought I posted something abo
 
Thought I posted something about this somewhere but cannot find it so

- Metis is being developed and there is some 5.0beta out. When building it creates a libmetis.so
- parMetis does not seem to be developed anymore and uses its own version of an old Metis which is built also as libmetis.so. Unfortunately in the same directory and it overwrites the 5.0 version.

To answer your questions:
- there is no specific reason why this is so. We only discovered it later.
- parMetis can only be built if there is an mpi installed so it is optional and we want to keep it and its dependencies fully separate.
- the Metis-5.0 seems to be newer than the parMetis version so should be the preferred option.

Guess we're going to have to rename one of the Metis libraries so they don't clash.


All times are GMT -4. The time now is 02:00.