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

NEW failure to compile redistributeMeshPar

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 27, 2007, 13:31
Default Hi, I experienced a failure
  #1
New Member
 
Pietro Asinari
Join Date: Mar 2009
Posts: 4
Rep Power: 8
pasinari is on a distinguished road
Hi,

I experienced a failure in recompiling redistributeMeshPar. I already cheched my ./Allwmake, as suggested in a previous message, but this is not the problem.

Compilation of redistributeMeshPar failed due to an unresolved reference.

The failure occured with the following:
Ubuntu 7.10
OF 1.4.1
HP nw8440
gcc version 4.1.3

~/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/parallelProcessing/redistribute MeshPar$ wmake

g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/asinari/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/parallelProcessin g/decompositionMethods/decompositionMethods/lnInclude -I/home/asinari/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/parallelProcessin g/decompositionMethods/metis-5.0pre2/libmetis/lnInclude -I/home/asinari/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/asinari/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -I/home/asinari/OpenFOAM/OpenFOAM-1.4.1/src/dynamicMesh/lnInclude -IlnInclude -I. -I/home/asinari/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPOpt/redistributeMeshPar.o -L/home/asinari/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt \
-lfiniteVolume -ldecompositionMethods -lmeshTools -ldynamicMesh -lparMetisDecompositionMethod -lOpenFOAM -ldl -lm -o /home/asinari/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/redistribut eMeshPar
/home/asinari/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libmetis.so: undefined reference to `ComputeFillIn2'
/home/asinari/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libparmetis.so: undefined reference to `METIS_mCPartGraphRecursive2'
collect2: ld returned 1 exit status
make: *** [/home/asinari/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/redistribu teMeshPar] Error 1

It seems that the problem is due to `METIS_mCPartGraphRecursive2' in particular.

Thank you in advance,
Pietro
pasinari is offline   Reply With Quote

Old   December 28, 2007, 11:03
Default ParMetis seems to come with it
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
ParMetis seems to come with its own version of the Metis library which overwrites the Metis library from Metis-5.0.

Rebuild the one that comes with the ParMetis. Try something like

cd decompositionMethods/parMetisDecomp
rmoall
./Allwmake

If this doesn't help do the opposite: build the metis-5.0 one last.
mattijs is offline   Reply With Quote

Old   December 31, 2007, 05:56
Default Hi Mattijs, thank you for y
  #3
New Member
 
Pietro Asinari
Join Date: Mar 2009
Posts: 4
Rep Power: 8
pasinari is on a distinguished road
Hi Mattijs,

thank you for your suggestions. Actually I fixed the problem. I was trying to use a different version of gcc. Instead I tried again using the version included in the OF 1.4.1 package and in the architecture folder and it worked.

Thank you,
Pietro
pasinari is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure to compile redistributeMeshPar schmidt_d OpenFOAM Bugs 12 February 21, 2008 00:44
Compiling redistributeMeshPar ueno OpenFOAM Bugs 3 June 11, 2007 08:56
help me power failure!!! haiduc FLUENT 4 May 24, 2007 08:06
Non slip failure Harish Main CFD Forum 0 March 26, 2006 00:28
Failure of CFD ? Lim Main CFD Forum 2 February 5, 2003 11:56


All times are GMT -4. The time now is 03:18.