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

Scotch 6.0 with OpenFOAM 2.1.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2018, 10:46
Default Scotch 6.0 with OpenFOAM 2.1.1
  #1
New Member
 
Pete
Join Date: Feb 2016
Posts: 8
Rep Power: 10
strakey is on a distinguished road
Hi All - I have been trying to get scotch-6.0.0 (from ThirdParty-2.3.0) to work with OpenFOAM-2.1.1 due to dgraphFoldComm errors with scotch-5.1.11. I am using a custom solver that incorporates dynamic load balancing with ptscotch. I copied the scotch-6.0.0 folder into the ThirdParty-2.1.1 folder, changed the scotch.sh file to point to the new scotch folder and recompiled. Everything seems to compile OK, but when I run my solver I get a warning about "undefined symbol: SCOTCHorderSaveTree" which prevents my load balancing library from loading.

Has anybody seen this warning/error before or figured out a work around for the dgraphFoldComm errors?

Thanks
Pete
strakey is offline   Reply With Quote

Old   September 14, 2018, 13:03
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
dlahaye is on a distinguished road
you probably need to extend the definition of the environment variable LD_LIBRARY_PATH to include the path to where Scotch stores its library files.

To see the current definition of LD_LIBRARY_PATH, do

echo $LD_LIBRARY_PATH

To extend its definition, do

export LD_LIBRARY = $LD_LIBRARY_PATH:<PATH_TO_SCOTCH_LIBRARY_PATH>
dlahaye is offline   Reply With Quote

Old   September 17, 2018, 14:38
Default
  #3
New Member
 
Pete
Join Date: Feb 2016
Posts: 8
Rep Power: 10
strakey is on a distinguished road
Thanks dlahaye. I finally figured it out today. I had to compile my mesh balancing library with -lscotchDecomp as well as -lptscotchDecomp in the LIB_LIBS=... Apparently my library needed both of these with scotch 6 whereas it only needed the ptscotch library with scotch 5.
Pete
strakey is offline   Reply With Quote

Reply

Tags
dgraph fold comm, ptscotch, scotch order save tree


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] Install OpenFOAM 2.4.x using system Scotch cbcoutinho OpenFOAM Installation 7 October 16, 2019 20:12
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
conjugateHeatFoam with OpenFOAM 2.1.1 rou OpenFOAM Programming & Development 4 April 24, 2015 06:23
Install/compile fireFoam 1.6-1.0 in Openfoam 2.1.1 hz283 OpenFOAM Programming & Development 19 April 1, 2013 09:35


All times are GMT -4. The time now is 17:04.