CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

BuildingLinking of ParMETIS and metis50pre2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2008, 09:48
Default Hi all Does anybody know as
  #1
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17
mwild is on a distinguished road
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
mwild is offline   Reply With Quote

Old   January 28, 2008, 17:05
Default Thought I posted something abo
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPL license compatible with ParMetis guillaume OpenFOAM 3 August 8, 2018 05:48
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 10:54
BuildingLinking of ParMETIS and metis50pre2 mwild OpenFOAM Installation 0 January 28, 2008 05:55


All times are GMT -4. The time now is 07:39.