|
[Sponsors] |
OpenFOAM-2.3.x on LinuxMint20 - compilation problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 24, 2021, 08:57 |
OpenFOAM-2.3.x on LinuxMint20 - compilation problem
|
#1 |
New Member
Join Date: Feb 2021
Posts: 2
Rep Power: 0 |
Hi,
I have installed Linux Mint 20.1 and I try to compile OpenFOAM-2.3.x. I follow the instructions on wiki (installation OpenFOAM-2.3.1 on Ubuntu) with modifications. Modifications:
Code:
ThirdParty Allwmake error example: cp: cannot stat '../bin/d[agm]*': No such file or directory make: [Makefile:110: install] Error 1 (ignored) .............. OpenFOAM Allwmake error example: Making dependency list for source file UOPwrite.C could not open file omp.h for source file UOPwrite.C due to No such file or directory could not open file openmpi/ompi/mpi/cxx/mpicxx.h for source file UOPwrite.C due to No such file or directory Code:
Create time Reconstructing fields for mesh region0 Time = 0.001 Reconstructing FV fields Reconstructing volScalarFields p #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::fvPatchField<double>::addpatchMapperConstructorToTable<Foam::zeroGradientFvPatchField<double> >::New(Foam::fvPatchField<double> const&, Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::fvPatchFieldMapper const&) at ??:? #4 ? in "/usr/local/OpenFOAM/OpenFOAM-2.3.x-d/platforms/linux64GccDPOpt/bin/reconstructPar" #5 ? in "/usr/local/OpenFOAM/OpenFOAM-2.3.x-d/platforms/linux64GccDPOpt/bin/reconstructPar" #6 ? in "/usr/local/OpenFOAM/OpenFOAM-2.3.x-d/platforms/linux64GccDPOpt/bin/reconstructPar" #7 ? in "/usr/local/OpenFOAM/OpenFOAM-2.3.x-d/platforms/linux64GccDPOpt/bin/reconstructPar" #8 ? in "/usr/local/OpenFOAM/OpenFOAM-2.3.x-d/platforms/linux64GccDPOpt/bin/reconstructPar" #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 ? in "/usr/local/OpenFOAM/OpenFOAM-2.3.x-d/platforms/linux64GccDPOpt/bin/reconstructPar" Segmentation fault (core dumped) Same situation is for scotch and hierarchical decomposition. Same situation is, if I compile OpenFOAM with g++-8 or g++-7 (set the compiler inside home bashrc rather than export value of gcc with source of the OpenFOAM). There are only different warnings and notes during compilation. I think, the problem is probably in some path settings, but everything seems correctly set. I do not (want to) believe there is some misinterpretation during compilation process with such a new compiler of such an old OpenFOAM version.. But why not Every hint is valuable to me. Thanks. MJ |
|
February 24, 2021, 17:40 |
|
#2 |
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 539
Rep Power: 20 |
I would try it with OpenSuse 13.2
|
|
February 25, 2021, 03:47 |
|
#3 |
New Member
Join Date: Feb 2021
Posts: 2
Rep Power: 0 |
||
May 9, 2022, 05:42 |
Same problem
|
#4 |
New Member
Join Date: Jan 2021
Posts: 1
Rep Power: 0 |
Hi, I'm having the same problem. Were you able to find a solution?
|
|
Tags |
compilation, linux mint, reconstructpar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
[OpenFOAM.org] OpenFOAM 2.3.x on Mac OS X 10.10.1 Installation Errors | Petru | OpenFOAM Installation | 15 | December 29, 2015 13:51 |
[OpenFOAM.org] Installation notes: OpenFOAM 2.3.x (git repo) on OSX 10.9 | opedrofunk | OpenFOAM Installation | 7 | July 1, 2015 14:51 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |