CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problem with Scotch in 1.7.x?

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

Like Tree6Likes
  • 6 Post By dancfd

LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2011, 21:52
Default Problem with Scotch in 1.7.x?
Senior Member
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello all,

I have just compiled OF 1.7.x without difficulty, but ran into trouble when I tried to run my first case in parallel. Upon running decomposePar with method = scotch, I received the following error:

Create time

Time = 0
Create mesh

Calculating distribution of cells
Selecting decompositionMethod scotch

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 is in your LD_LIBRARY_PATH.
The scotchDecomp library can then be built in $FOAM_SRC/decompositionMethods/scotchDecomp

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

FOAM exiting
I am not sure how to install scotch, but I unsuccessfully tried to find the LD_LIBRARY_PATH as follows:

bash: cd: /home/dan/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0/lib/paraview-3.8:/home/dan/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1:/home/dan/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/openmpi-1.4.1/lib:/home/dan/OpenFOAM/dan-1.7.0/lib/linux64GccDPOpt:/home/dan/OpenFOAM/site/1.7.x/lib/linux64GccDPOpt:/home/dan/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt:/home/dan/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/dummy: No such file or directory
I just noticed that in the /lib/linux64GccDPOpt/ directory, OF 1.7.x has one less library than OF 1.7.0 - and that missing library is I ran wmake libso from the /src/decompositionMethods/scotchDecomp directory, and the missing library appeared. Now it works. I hope this monologue was of use to someone.

tikulju, PolluxRV, backar and 3 others like this.
dancfd is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 10 February 4, 2023 07:27
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
convergence problem Trushar Phoenics 5 August 27, 2002 23:40

All times are GMT -4. The time now is 02:44.