CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Problems with Scotch (https://www.cfd-online.com/Forums/openfoam-installation/173202-problems-scotch.html)

scoop_them_mids June 15, 2016 09:48

Problems with Scotch
 
1 Attachment(s)
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

wyldckat June 18, 2016 16:45

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.

scoop_them_mids June 20, 2016 10:52

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


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