|
[Sponsors] |
[OpenFOAM.org] Install OpenFOAM 2.4.x using system Scotch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 17, 2016, 10:26 |
Install OpenFOAM 2.4.x using system Scotch
|
#1 |
New Member
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11 |
I'm running OpenSUSE 42.1 Leap, and am trying to install various versions of OpenFOAM (2.4.x - 4.x) onto my system. I first installed 2.4.x without any issue, but then tried to run an example parallel case using the the scotch decomposition method - that ended up failing because OF24x wasn't installed using scotch. I checked that I had scotch installed on my system, as well as the development headers - that wasn't the problem.
I cleaned by build directory and tried reinstalling OF24x again and noticed I was getting errors because OF couldn't find the scotch headers (scotch.h and ptscotch.h) I've tried editing the etc/config/scotch.sh file (similar to how the instructions on the wiki say for CGAL), but that didn't work and the build failed making a number of libraries. In the end I found out that OpenFOAM looks for scotch in the ThirdParty directory by default instead of the system, and since current ThirdParty 2.4.x git repo doesn't contain it, I had to copy it over from the ThirdParty 2.4.0 tgz folder. This means that for every OpenFOAM install, I need to have a copy of the scotch source in each respective ThirdParty directory, which doesn't seem ideal. Questions:
|
|
Tags |
openfoam 2.4.x, opensuse, scotch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 05:40 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 03:19 |
[OpenFOAM.org] How to install OpenFoam from its folder | immortality | OpenFOAM Installation | 12 | August 9, 2015 11:20 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |