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

Problem with Scotch in 1.7.x?

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By dancfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2011, 22:52
Default Problem with Scotch in 1.7.x?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
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, backar and 3 others like this.
dancfd is offline   Reply With Quote

Reply


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 08:27
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
convergence problem Trushar Phoenics 5 August 28, 2002 00:40


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