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

[OpenFOAM.org] Install OpenFOAM 2.4.x using system Scotch

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By wyldckat
  • 1 Post By venturi
  • 1 Post By beatlejuice
  • 1 Post By olesen

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 17, 2016, 10:26
Default Install OpenFOAM 2.4.x using system Scotch
  #1
New Member
 
Chris Coutinho
Join Date: Jan 2015
Location: Netherlands
Posts: 28
Rep Power: 11
cbcoutinho is on a distinguished road
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:
  1. Why is the scotch source directory not included in the ThirdParty 2.4.x repo?
  2. How do you allow OpenFOAM to access your system's version of scotch?
cbcoutinho is offline   Reply With Quote

 

Tags
openfoam 2.4.x, opensuse, scotch


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
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


All times are GMT -4. The time now is 01:11.