|
[Sponsors] |
September 10, 2018, 10:46 |
Scotch 6.0 with OpenFOAM 2.1.1
|
#1 |
New Member
Pete
Join Date: Feb 2016
Posts: 8
Rep Power: 10 |
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 |
|
September 14, 2018, 13:03 |
|
#2 |
Senior Member
|
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> |
|
September 17, 2018, 14:38 |
|
#3 |
New Member
Pete
Join Date: Feb 2016
Posts: 8
Rep Power: 10 |
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 |
|
Tags |
dgraph fold comm, ptscotch, scotch order save tree |
|
|
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 |