Hi, I experienced a failure
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:
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,
ParMetis seems to come with it
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
If this doesn't help do the opposite: build the metis-5.0 one last.
Hi Mattijs, thank you for y
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.
|All times are GMT -4. The time now is 13:55.|