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

[OpenFOAM.com] Problem with scotch decompose

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2022, 05:45
Default Problem with scotch decompose
  #1
Member
 
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 8
hiep.nguyentrong is on a distinguished road
Im running OpenFOAM 2112 with wsl Ubuntu 20.04

When im trying to decompose with scotch method, terminal say scoth not installed.

Code:
                                                                                                                                                                                                                                          
 Calculating distribution of cells                                                                                                                                                                                                           
 Decomposition method scotch [12] (region region0)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      --> FOAM FATAL ERROR: (openfoam-2112)                                                                                                                                                                                                        
Attempted to use <scotch> without the scotchDecomp library loaded.                                                                                                                                                                           
This message is from the dummy scotchDecomp stub library instead.                                                                                                                                                                                                                                                                                                                                                                                                                         Please install <scotch> and ensure libscotch.so is in LD_LIBRARY_PATH.                                                                                                                                                                       
The scotchDecomp library can then be built from src/parallel/decompose/scotchDecomp.                                                                                                                                                        
Dynamically loading or linking this library will add <scotch> as a decomposition method.
but i already install it frome third party
The LD_LIBRARY_PATH have libscotch.so
Code:
echo $LD_LIBRARY_PATH  
/home/hiep/OpenFOAM/hiep-v2112/platforms/linux64GccDPInt32Opt/lib:
/home/hiep/OpenFOAM-v2112/site/2112/platforms/linux64GccDPInt32Opt/lib:
/home/hiep/OpenFOAM-v2112/platforms/linux64GccDPInt32Opt/lib/sys-openmpi:
/home/hiep/OpenFOAM-v2112/platforms/linux64GccDPInt32Opt/lib:
/home/hiep/ThirdParty-v2112/platforms/linux64GccDPInt32/lib/sys-openmpi:
/home/hiep/ThirdParty-v2112/platforms/linux64GccDPInt32/lib:
/home/hiep/ThirdParty-v2112/platforms/linux64Gcc/fftw-3.3.10/lib:
/home/hiep/ThirdParty-v2112/platforms/linux64Gcc/CGAL-4.14.3/lib64:
/home/hiep/ThirdParty-v2112/platforms/linux64Gcc/boost_1_74_0/lib64:
/usr/lib/x86_64-linux-gnu/openmpi/lib:
/home/hiep/OpenFOAM-v2112/platforms/linux64GccDPInt32Opt/lib/dummy:
/usr/local/lib/
and here is my libscotch.so path:
Code:
 find -name libscotch.so                                                                                                                                                                                              
./home/hiep/ThirdParty-v2112/platforms/linux64GccDPInt32/lib/libscotch.so                                                                                                                                                                    
./home/hiep/ThirdParty-v2112/platforms/linux64GccDPInt32/lib/sys-openmpi/libscotch.so
Pls help me
hiep.nguyentrong 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
overset decompose problem daron OpenFOAM Running, Solving & CFD 1 February 10, 2020 11:04
BuoyantBoussinesqSimpleFoam_Facing problem Mondal131211 OpenFOAM Running, Solving & CFD 1 April 10, 2019 20:41
Problem with Scotch in 1.7.x? dancfd OpenFOAM Running, Solving & CFD 0 June 15, 2011 22:52
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


All times are GMT -4. The time now is 00:13.