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

[OpenFOAM.org] Problems with Scotch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2016, 09:48
Default Problems with Scotch
  #1
New Member
 
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9
scoop_them_mids is on a distinguished road
Dear all,

I am struggling to install OpenFOAM on a Linux 64 cluster system using system modules, in particular with Scotch. I tried OF versions 2.2.x and 3.0.x, nothing worked. I did specify the path to the system's Scotch module in etc/config/scotch.sh , just like I modified etc/config/settings.sh and etc/bashrc to tell the compiler (Intel v. 2015) to use the system's MPI (INTELMPI).

Can any bright mind out there help me? (BTW this is my first post here)

Many thanks,
Ivan
Attached Images
File Type: jpg error.jpg (201.0 KB, 35 views)
scoop_them_mids is offline   Reply With Quote

Old   June 18, 2016, 16:45
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick requests, in order to diagnose the problem:
  1. Please provide the contents of the file "etc/config/scotch.sh".
  2. Please provide the list of folders that at located at the main folder of the installation of Scotch. I ask this
There is in fact a little problem in OpenFOAM, apparently, because the environment variable "SCOTCH_ROOT" is not documented at "scotch.sh". Please edit the file "etc/config/scotch.sh" and add this line at the end:
Code:
export SCOTCH_ROOT=$SCOTCH_ARCH_PATH
I'm assuming here that you defined "SCOTCH_ARCH_PATH" to have the full path the base folder of Scotch's installation.
wyldckat is offline   Reply With Quote

Old   June 20, 2016, 10:52
Default
  #3
New Member
 
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9
scoop_them_mids is on a distinguished road
I resolved the problem in the meantime - would be happy to upload my files on here if that could help someone else, but it says "invalid file" ?

Anyway, it turned out some of my modules weren't loaded in the right order. OF-3.0.x compiled normally after that, whereas OF-2.2.x bugged due to Flex. For anyone trying to compile an older OF version with a recent version of Flex, this did the trick for me:

http://bugs.openfoam.org/view.php?id=1974

Thanks,
Ivan
scoop_them_mids 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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[OpenFOAM.org] Install OpenFOAM 2.4.x using system Scotch cbcoutinho OpenFOAM Installation 7 October 16, 2019 19:12
Scotch error a_habib OpenFOAM Pre-Processing 0 March 18, 2017 14:57
scotch and metis's mathematical knowledge sharonyue OpenFOAM Programming & Development 1 September 9, 2015 11:33
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 06:44


All times are GMT -4. The time now is 20:49.