|
[Sponsors] |
December 27, 2007, 12:31 |
Hi,
I experienced a failure
|
#1 |
New Member
Pietro Asinari
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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 |
|
December 28, 2007, 10:03 |
ParMetis seems to come with it
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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. |
|
December 31, 2007, 04:56 |
Hi Mattijs,
thank you for y
|
#3 |
New Member
Pietro Asinari
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failure to compile redistributeMeshPar | schmidt_d | OpenFOAM Bugs | 12 | February 20, 2008 23: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 25, 2006 23:28 |
Failure of CFD ? | Lim | Main CFD Forum | 2 | February 5, 2003 10:56 |