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

OpenFOAM-2.3.x on LinuxMint20 - compilation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2021, 08:57
Default OpenFOAM-2.3.x on LinuxMint20 - compilation problem
  #1
New Member
 
Join Date: Feb 2021
Posts: 2
Rep Power: 0
michalj is on a distinguished road
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:

  • I compile the ThirdParty openMPI (due to the errors with using the system mpi)
  • I do not compile the ThirdParty ParaView-4.1.0 (Qt4 is needed, but Qt5 is present on system)
After installation with known errors,

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
I run the pitzDaily pimpleFoam tutorial. Well, serial run is OK. Doing the pitzDaily parallel, there is some problem with reconstruct:
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
michalj is offline   Reply With Quote

Old   February 24, 2021, 17:40
Default
  #2
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 539
Rep Power: 20
JBeilke is on a distinguished road
I would try it with OpenSuse 13.2
JBeilke is offline   Reply With Quote

Old   February 25, 2021, 03:47
Default
  #3
New Member
 
Join Date: Feb 2021
Posts: 2
Rep Power: 0
michalj is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
I would try it with OpenSuse 13.2
Well, thanks for advice, but I will keep both the Linux Mint 20.1 and OpenFOAM-2.3.x.


MJ
michalj is offline   Reply With Quote

Old   May 9, 2022, 05:42
Default Same problem
  #4
New Member
 
Join Date: Jan 2021
Posts: 1
Rep Power: 0
hapold is on a distinguished road
Hi, I'm having the same problem. Were you able to find a solution?
hapold is offline   Reply With Quote

Reply

Tags
compilation, linux mint, reconstructpar


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


All times are GMT -4. The time now is 14:09.