|January 25, 2008, 09:48||
Hi all Does anybody know as
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79Rep Power: 10
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?
|January 28, 2008, 17:05||
Thought I posted something abo
Join Date: Mar 2009
Posts: 1,416Rep Power: 18
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|GPL license compatible with ParMetis||guillaume||OpenFOAM||2||February 16, 2009 05:20|
|ParMETIS||Rob Kunz||Main CFD Forum||2||November 20, 2008 17:20|
|ParMetis for parallel decomposing||bastil||OpenFOAM Running, Solving & CFD||0||May 12, 2008 09:54|
|BuildingLinking of ParMETIS and metis50pre2||mwild||OpenFOAM Installation||0||January 28, 2008 05:55|