View Issue Details

IDProjectCategoryView StatusLast Update
0003759ThirdPartyBugpublic2021-12-01 16:15
Reportersjohn2 Assigned Tochris  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version21.10 (impish)
Summary0003759: Problem with openfoam V9 installation on Ubuntu 21.10
DescriptionI have downloaded the latest version for Ubuntu for my newest Ryzen processor and I have issues installing OpenFoam V9

The problem is with the Third Party software and the log files are attached

Is there additional libraries I need to install for this to work?
TagsNo tags attached.

Activities

sjohn2

2021-11-30 06:53

reporter  

logAllwmake (1,315 bytes)   
========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
Build Scotch decomposition library scotch_6.0.9
    /home/sjohn2/Documents/SOFTWARES/OPENFOAM/V9/ThirdParty-9/platforms/linux64GccDPInt32/scotch_6.0.9
    scotch header in /home/sjohn2/Documents/SOFTWARES/OPENFOAM/V9/ThirdParty-9/platforms/linux64GccDPInt32/scotch_6.0.9/include
    scotch libs   in /home/sjohn2/Documents/SOFTWARES/OPENFOAM/V9/ThirdParty-9/platforms/linux64GccDPInt32/lib

========================================
Build PTScotch decomposition library scotch_6.0.9 (uses MPI)
    /home/sjohn2/Documents/SOFTWARES/OPENFOAM/V9/ThirdParty-9/platforms/linux64GccDPInt32/scotch_6.0.9

    ptscotch header in /home/sjohn2/Documents/SOFTWARES/OPENFOAM/V9/ThirdParty-9/platforms/linux64GccDPInt32/scotch_6.0.9/include/openmpi-system
    ptscotch libs   in /home/sjohn2/Documents/SOFTWARES/OPENFOAM/V9/ThirdParty-9/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
Build Metis decomposition
    optional component Metis was not found

========================================
Done ThirdParty Allwmake
========================================

logAllwmake (1,315 bytes)   
logmakeParaView (287,444 bytes)

wyldckat

2021-11-30 08:48

updater   ~0012286

There are no clear error messages in the log for ParaView. Please run with the redirection of the error output into standard output, e.g.:

  ./makeParaView > log.makeParaView 2>&1

sjohn2

2021-11-30 09:36

reporter   ~0012287

Please see attached the updated file. Also to add, I followed the installation procedure the openfoam.org website.
log.makeParaView (310,755 bytes)

wyldckat

2021-11-30 10:21

updater   ~0012288

OK, so the error was this:

In file included from ........../OPENFOAM/V9/ThirdParty-9/build/linux64Gcc/ParaView-5.6.3/Wrapping/ClientServer/vtkMathClientServer.cxx:5:
........../OPENFOAM/V9/ThirdParty-9/ParaView-5.6.3/VTK/Common/Core/vtkMath.h: In static member function ‘static T vtkMath::ClampValue(const T&, const T&, const T&)’:
........../OPENFOAM/V9/ThirdParty-9/ParaView-5.6.3/VTK/Common/Core/vtkMath.h:1514:15: error: ‘clamp’ is not a member of ‘std’
 1514 | return std::clamp(value, min, max);
      | ^~~~~


Given that there are Deb packages provided for OpenFOAM 9 on Ubuntu 21.10: https://openfoam.org/news/v9-patch/ - means that it was compiled somehow...

@Chris and @Will: I don't know which one of you are handling the deb package generation nowadays, but given the error above, was ParaView built with GCC 10 for the package paraviewopenfoam56, on Ubuntu 21.10?
Or perhaps is a commit missing in the repository for it: https://github.com/OpenFOAM/ThirdParty-9/

chris

2021-12-01 16:14

manager   ~0012290

Fixed in dev and v9 by commits:
dev: https://github.com/OpenFOAM/ThirdParty-dev/commit/8376b2
v9: https://github.com/OpenFOAM/ThirdParty-9/commit/c2955c

Issue History

Date Modified Username Field Change
2021-11-30 06:53 sjohn2 New Issue
2021-11-30 06:53 sjohn2 File Added: logAllwmake
2021-11-30 06:53 sjohn2 File Added: logmakeParaView
2021-11-30 08:46 wyldckat Project OpenFOAM => ThirdParty
2021-11-30 08:48 wyldckat Note Added: 0012286
2021-11-30 09:36 sjohn2 File Added: log.makeParaView
2021-11-30 09:36 sjohn2 Note Added: 0012287
2021-11-30 10:21 wyldckat Note Added: 0012288
2021-12-01 16:14 chris Note Added: 0012290
2021-12-01 16:15 chris Assigned To => chris
2021-12-01 16:15 chris Status new => resolved
2021-12-01 16:15 chris Resolution open => fixed