|
[Sponsors] |
[foam-extend.org] foam-extend 1.6: ScotchDecomp error while compiling on Ubuntu 16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 4, 2018, 13:41 |
foam-extend 1.6: ScotchDecomp error while compiling on Ubuntu 16.04
|
#1 |
Member
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9 |
Hi,
I am trying to install FoamExtend-1.6 on Ubuntu 16.04 LTS. I am following the instruction for Ubuntu 14.04 from the following page: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 While compiling the ThirdParty, I had an error linked to 'libcc' saying the .tar.gz file was missing and downloaded it and placed it right place and had no errors. While compiling FoamExtend, I had issues related to scotchDecomposition: scotchDecomp/scotchDecomp.C:116:20: fatal error: scotch.h: No such file or directory compilation terminated And further it complaints the essential lscotchDecomp library is missing that is required by libdecompositionMethods.so and subsequently the compilation of lmeshTools, ldynamicMesh and lfiniteVolume libraries are failing. I have tried many times but did not come across how to resolve the scotchDecomp error. Can anyone guide me? Thanks. |
|
October 8, 2018, 10:21 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Katt,
I received your PM just now, while I was tidying up a massive thread on the community forum... and was thinking of possibly looking into your request later today... But does it really have to be foam-extend 1.6-ext? Or is it because the instructions for later versions (foam-extend 3.0 to 4.0) are not as easy to follow? Best regards, Bruno
__________________
|
|
October 8, 2018, 10:31 |
|
#3 |
Member
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9 |
Hi Bruno;
The reason why I am still using Foam-Extend 16 is because I have used it for my earlier investigations and want to be consistent with respect to it. Also I came across a separate solver named poreFoam that was initially built on FExt1.6 and later the developers updated it to 2.x versions of normal openfoam but I found the solver worked better on FExtd 1.6. That being said, I have different versions of normal OF and FExtd on my personal laptop which I did not come across issues while building the source code. |
|
October 8, 2018, 13:10 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
I've started working on the instructions for 1.6-ext and Ubuntu 16.04 on this section: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04
It's currently building foam-extend itself at the moment, so it will take a long while, but the details about Scotch are already solved in those instructions. But now you have two choices:
Last edited by wyldckat; October 8, 2018 at 14:01. Reason: see the two "edit:" |
|
December 13, 2018, 00:34 |
|
#5 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
Dear Bruno, I have installed OpenFOAM_2.3.0 on magus supercomputer and got the same error: Code:
--> FOAM FATAL ERROR: You are trying to use scotch but do not have the scotchDecomp library loaded. This message is from the dummy scotchDecomp stub library instead. Please install scotch and make sure that libscotch.so is in your LD_LIBRARY_PATH. The scotchDecomp library can then be built in $FOAM_SRC/parallel/decompose/decompositionMethods/scotchDecomp I cannot see etc/prefs.sh file to fix it. Regards, Elham |
||
December 14, 2018, 03:18 |
|
#6 | |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
Elham
OF-2.3 doesn't have the exact same structure as foam-extend. There is no "etc/prefs.sh", however there is "etc/config/scotch.sh". You said you're doing the installation on a supercomputer. So if there is a scotch version already available, try to use that one first. You can see the following definition in the scotch.sh file: Code:
export SCOTCH_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$SCOTCH_VERSION Code:
export SCOTCH_ARCH_PATH=${MAGNUS_SCOTCH_BASE} After doing this, load the appropriate module and then re-start installation. It is smart enough to pick the sources that are not compiled previously. Don't forget to load the scotch module before installation starts, otherwise you might suffer from the following: Quote:
Cheers // Fatih |
||
December 19, 2018, 22:27 |
|
#7 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
Dear Fatih, Thanks for your reply. I cannot find where scotch is installed. Even "module show scotch" command returnes: ModuleCmd_Display.c(157):ERROR:105: Unable to locate a modulefile for 'scotch' When I did "module avail", no scotch module was found on the list. Then, I tried to decompose with OpenFOAM+ which is already available on the supercomputer and run my own code. I could decompose without any error and a processor folder is created with a time folder on it. When I run my own case there is an error indicating that the processor0 is not found. I think my code is not compatible with the new version of decomposePar called collated I/O. Can you please helping me to fix this problem? Regards, Elham |
||
December 20, 2018, 01:34 |
|
#8 |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
Elham
You can't run "module show" for a module you didn't load. If you want to check modules installed, I suggest you running "module spider" rather than "module avail". In some clusters "module avail" is organized in a way that it lists the tools available based on the compilers already loaded. So you might want to check with either "module spider" or simply contact technical support Anyway I thought you were trying to install OF on the cluster. If that's already installed, you probably don't need to be worried about it. To help you for the error you mentioned, you need to give more information. What do you mean by running your own code? Did you develop your own solver? Also, what are the exact steps you're following? Since collated option is fairly new, different OF versions are not compatible with each other. For instance, when you have 8 mpi ranks OF-5.0 creates a folder called "processors", on the other hand OF-6 produces a folder called "processors8". If you're using the same OF version for decomposing and running the solver, error might be related to a problem in your setup. I'd try overriding fileHandler for uncollated option to see whether it works with multiple processor directories. The error you mentioned sounds like, you're imposing collated option but the cluster expects uncollated fileHandler. // Fatih |
|
December 20, 2018, 01:39 |
|
#9 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
Dear Fatih, I have developed my own solver on OpenFoam. I tried to run uncollated option and it works. But I cannot benefit of the speed of the new collated option. Regards, Elham |
||
September 29, 2023, 04:42 |
Target 'application' not remade because of errors. OF-1.6-extend
|
#10 |
New Member
Aero_Cats!
Join Date: Jul 2021
Location: Indonesia
Posts: 7
Rep Power: 5 |
Dear All, I tried to install OpenFOAM 1.6 extend using ubuntu 20.04 LTS. I followed the instruction for installation on ubuntu 16.04 (Don't know if it can be done properly due to different OS, but I need navalFoam to run on my machine)
The problem happened at step 16 from this instruction link which can be seen at the log file as "Target 'application' not remade because of errors." (https://openfoamwiki.net/index.php/I...1.6-ext/Ubuntu). Code:
#Go back to the main folder and update the environment cd .. source etc/bashrc # This next command will take a while... somewhere between 30 minutes to 3-6 hours. ./Allwmake > log.make 2>&1 #Run it a second time for getting a summary of the installation ./Allwmake > log.make 2>&1 https://drive.google.com/file/d/134g...ew?usp=sharing |
|
Tags |
compilation error, openfoam 1.6-ext, scotch |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
[mesh manipulation] refineMesh Error | mohsen.boojari | OpenFOAM Meshing & Mesh Conversion | 3 | March 1, 2018 23:07 |
[foam-extend.org] core dumped for foam extended 3.2 on Ubuntu 16.04 | qjh888 | OpenFOAM Installation | 9 | September 27, 2016 17:39 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 08:53 |
OF-1.6-ext: compiling fails on ubuntu 12.10 | A.Wendy | OpenFOAM Installation | 1 | March 22, 2013 07:47 |