CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Problem with Scotch in 1.7.x?

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

Like Tree3Likes
  • 3 Post By dancfd

Reply
 
LinkBack Thread Tools Display Modes
Old   June 15, 2011, 21:52
Default Problem with Scotch in 1.7.x?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 151
Rep Power: 8
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:

Code:
Create time

Time = 0
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/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:

Code:
cd $LD_LIBRARY_PATH
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 libscotchdecomp.so. 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.

Best,
Dan
tikulju, PolluxRV and backar like this.
dancfd is offline   Reply With Quote

Reply

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
Problem with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 3 February 23, 2013 21:41
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 15:19.