|
[Sponsors] |
April 11, 2012, 12:20 |
libscotch-5.1.so needed for DPOpt
|
#1 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 15 |
Hi,
I am followig the Chalmers method for installing OF2.0.x (http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html). When I come to the compilation command Code:
./Allwmake 2>&1 | tee log_Allwmake_0 Code:
ake[1]: Entering directory `/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/applications/utilities/parallelProcessing' make[2]: Entering directory `/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/applications/utilities/parallelProcessing/decomposePar' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/src/parallel/decompose/decompositionMethods/lnInclude -I/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/src/finiteVolume/lnInclude -I/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/src/lagrangian/basic/lnInclude -I/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude -I/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/decomposePar.o Make/linux64GccDPOpt/domainDecomposition.o Make/linux64GccDPOpt/domainDecompositionMesh.o Make/linux64GccDPOpt/domainDecompositionDistribute.o Make/linux64GccDPOpt/dimFieldDecomposer.o Make/linux64GccDPOpt/fvFieldDecomposer.o Make/linux64GccDPOpt/pointFieldDecomposer.o Make/linux64GccDPOpt/lagrangianFieldDecomposer.o -L/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib \ -lfiniteVolume -lgenericPatchFields -ldecompositionMethods -L/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/dummy -lmetisDecomp -lscotchDecomp -llagrangian -lmeshTools -lOpenFOAM -ldl -lm -o /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/decomposePar /usr/bin/ld: warning: libscotch-5.1.so, needed by /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscotcherrexit-5.1.so, needed by /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so, not found (try using -rpath or -rpath-link) /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_stratExit' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_graphCheck' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_archCmpltw' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_stratInit' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_graphBuild' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_archInit' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_stratGraphMap' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_graphExit' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_graphMap' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_archExit' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_archCmplt' /home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libscotchDecomp.so: undefined reference to `SCOTCH_graphInit' collect2: ld returned 1 exit status make[2]: *** [/home/jmatthei/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/decomposePar] Error 1 Would that be the problem and how do I solve it? |
|
April 11, 2012, 17:30 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings flowris,
Insufficient information... please run: Code:
tar -czf log.tar.gz log_Allwmake_0 I ask this because apparently Scotch didn't build. The weird thing is why on earth is it asking for libscotch-5.1 and not plain and simple libscotch? WAaaait, scratch that above. Those instructions are ooooooutdated as hell. Get the more recent ThirdParty package: http://downloads.sourceforge.net/pro...rty-2.0.1.gtgz There was a dumb bug in the 2.0.0 3rdP package. Best regards, Bruno
__________________
|
|
April 13, 2012, 03:51 |
|
#3 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 15 |
Dear Bruno,
I downloaded the newer ThirdParty and compiled everything successfully. Thanks a lot! |
|
April 13, 2012, 05:24 |
|
#4 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 15 |
Dear Bruno (and others),
I am now also trying 1.6-ext, and following your short tutorial (http://www.extend-project.de/user-fo...ation-openfoam). While compiling the ThirdParty, I got an error in Stage 3 at 49%: Code:
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glReadBuffer' ../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord1iv' collect2: ld returned 1 exit status make[2]: *** [bin/GenericFilteringCxxTests] Error 1 make[1]: *** [VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkPImageWriter.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkPipelineSize.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkSynchronizedRenderers.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkSynchronizedRenderWindows.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkTreeCompositer.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkExodusIIWriter.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCompositeZPassShader_fs.cxx.o [ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkParallelInstantiator.cxx.o Linking CXX shared library ../../bin/libvtkParallel.so [ 49%] Built target vtkParallel make: *** [all] Error 2 error: Bad exit status from /home/jmatthei/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.gPd7Hl (%build) RPM build errors: Bad exit status from /home/jmatthei/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.gPd7Hl (%build) Installing package: ParaView-3.10.1 Uninstalling ParaView-3.10.1 using RPM: ParaView-3.10.1-linux64GccDPOpt.x86_64 Installing ParaView-3.10.1 using RPM file: /home/jmatthei/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.10.1-linux64GccDPOpt.x86_64.rpm error: open of /home/jmatthei/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.10.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory Done installing package ======================================== Done ThirdParty AllMake: Stage4 ======================================== ======================================== Done ThirdParty Allwmake ======================================== |
|
April 13, 2012, 17:34 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi flowris,
Make sure to install the packages mentioned in the section "System Requirements": http://www.openfoam.org/download/source.php#x6-27000 Best regards, Bruno
__________________
|
|
May 2, 2012, 08:49 |
|
#6 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 15 |
Thanks Bruno,
I have all of these packages installed, I updated them and still the same error occurs. However, I am able to compile the main OpenFOAM-1.6-ext folder (running Allwmake). Attached is the log file for the compilation of the ThirdParty direction. Any tips are still appreciated, because not all functionalities will work for me. |
|
May 2, 2012, 17:46 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi flowris,
Since it's 1.6-ext, I don't know. All I know is that there is a more lengthy explanation about installing 1.6-ext here: http://www.extend-project.de/user-fo...n-openfoam#276 The other possibility is to report this on Extend's bug tracker: http://sourceforge.net/apps/mantisbt...l_bug_page.php There is also another possibility, partially described here: Quote:
edit: You can also try the answer I gave here: http://www.cfd-online.com/Forums/ope...tml#post358820 Best regards, Bruno
__________________
Last edited by wyldckat; May 2, 2012 at 17:49. Reason: see "edit:" |
||
Tags |
libscotch-5.1.so |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
a CFD software is needed... | maxgzc | Main CFD Forum | 3 | September 27, 2011 02:51 |
Mesh generation software is needed | H.Dou | Main CFD Forum | 12 | May 4, 2011 16:20 |
a dissertation in ETD needed very much | LiQiang | Main CFD Forum | 0 | March 11, 2005 04:09 |
CFD Software Engineer needed in Fort Worth, Texas | Ross | Main CFD Forum | 0 | November 19, 2001 15:48 |