CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Scotch error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2017, 15:57
Exclamation Scotch error
  #1
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 12
a_habib is on a distinguished road
Hello All.
I'm using OF 4.x on ubuntu 16.04 LTS for the first time (I was using OF 2.3.0 on 14.04 for a long time)
When I tried to use the scotch decomposition method I got this message

Code:
Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod scotch


--> FOAM FATAL ERROR: 
You are trying to use scotch but do not have the scotchDecomp library loaded.
This message is from the dummy scotchDecomp stub library instead.

Please install scotch and make sure that libscotch.so is in your LD_LIBRARY_PATH.
The scotchDecomp library can then be built in $FOAM_SRC/parallel/decompose/decompositionMethods/scotchDecomp


    From function virtual Foam::labelList Foam::scotchDecomp::decompose(const Foam::polyMesh&, const pointField&, const scalarField&)
    in file dummyScotchDecomp.C at line 97.

FOAM exiting
why I don't have scotch ?
My $LD_LIBRARY_PATH is
Code:
bash: /home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48/qt-4.7.3/lib/:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48/gperftools-svn/lib:/home/a-habib/OpenFOAM/OpenFOAM-4.x/platforms/linux64Gcc48DPInt32Opt/lib/openmpi-1.6.5:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48DPInt32/lib/openmpi-1.6.5:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48/openmpi-1.6.5/lib:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48/openmpi-1.6.5/lib64:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64/mpc-1.0.1/lib64:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64/mpfr-3.1.2/lib64:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64/gmp-5.1.2/lib64:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64/gcc-4.8.4/lib64:/home/a-habib/OpenFOAM/a-habib-4.x/platforms/linux64Gcc48DPInt32Opt/lib:/home/a-habib/OpenFOAM/site/4.x/platforms/linux64Gcc48DPInt32Opt/lib:/home/a-habib/OpenFOAM/OpenFOAM-4.x/platforms/linux64Gcc48DPInt32Opt/lib:/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48DPInt32/lib:/home/a-habib/OpenFOAM/OpenFOAM-4.x/platforms/linux64Gcc48DPInt32Opt/lib/dummy: No such file or directory
I tried to locate libscotch.so and I had this
Code:
/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64GccDPInt32Opt/lib/libscotch.so
/home/a-habib/OpenFOAM/ThirdParty-4.x/platforms/linux64GccDPInt32Opt/lib/openmpi-1.6.5/libscotch.so
How I can solve this ?

Thanks All
a_habib is offline   Reply With Quote

Reply

Tags
scotch


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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