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

libscotch-5.1.so needed for DPOpt

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2012, 11:20
Default libscotch-5.1.so needed for DPOpt
  #1
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
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
I get the following error
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
In the directory /home/jmatthei/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc, I do have the folder scotch_5.1.11, but this folder is not in /home/jmatthei/OpenFOAM/ThirdParty-2.0.x/platforms/linux64GccDPOpt/
Would that be the problem and how do I solve it?
flowris is offline   Reply With Quote

Old   April 11, 2012, 16:30
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,522
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings flowris,

Insufficient information... please run:
Code:
tar -czf log.tar.gz log_Allwmake_0
And attach "log.tar.gz" to your next post.

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
wyldckat is offline   Reply With Quote

Old   April 13, 2012, 02:51
Default
  #3
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
Dear Bruno,

I downloaded the newer ThirdParty and compiled everything successfully. Thanks a lot!
flowris is offline   Reply With Quote

Old   April 13, 2012, 04:24
Default
  #4
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
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
========================================
This one goes beyond my skills. The complete log file is attached. Any tips?
Attached Files
File Type: gz log.tar.gz (44.8 KB, 1 views)
flowris is offline   Reply With Quote

Old   April 13, 2012, 16:34
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,522
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   May 2, 2012, 07:49
Default
  #6
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
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.
Attached Files
File Type: gz log_AllMake.txt.gz (44.0 KB, 1 views)
flowris is offline   Reply With Quote

Old   May 2, 2012, 16:46
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,522
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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:
Originally Posted by wyldckat View Post
Maybe it's best to do it the other way around: disable the ParaView version you are trying to build and then use the old one instead.

By the looks of it, it seems that you can do this:
  1. Start a new terminal.
  2. Do not run startOF16ext that was assigned to the deb version you had.
  3. When building the new version of 1.6-ext, run it like this:
    Code:
    export PARAVIEW_SYSTEM=1
    ./Allwmake
    This way it will skip the step for building ParaView.
When the new version is properly built... well, for now, the easiest thing to do would be to have two terminals:
  1. One where you have working the new 1.6-ext, perhaps in Debug mode already.
  2. Another where you have the old deb version of 1.6-ext, from which you can run ParaView.
The idea is that the other ParaView is the one from the the deb packages provided here: http://openfoamwiki.net/index.php/In...ucid_10.04_LTS

edit: You can also try the answer I gave here: Installation on Ubuntu 12.04 LTS

Best regards,
Bruno

Last edited by wyldckat; May 2, 2012 at 16:49. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Reply

Tags
libscotch-5.1.so

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
a CFD software is needed... maxgzc Main CFD Forum 3 September 27, 2011 01:51
Mesh generation software is needed H.Dou Main CFD Forum 12 May 4, 2011 15: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


All times are GMT -4. The time now is 04:20.