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

errors installing OpenFOAM 2.4.x on Ubuntu 24.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2022, 05:58
Question errors installing OpenFOAM 2.4.x on Ubuntu 24.04
  #1
New Member
 
S Abrahams
Join Date: Mar 2022
Location: UK
Posts: 14
Rep Power: 4
sabrahams is on a distinguished road
I'm trying to install OpenFOAM2.4.x to use interThermalPhaseChangeFoam (https://github.com/ElsevierSoftwareX/SOFTX-D-16-00038). I already have OpenFOAM9 installed successfully.

I've set up the asliases as described here:
https://www.cfd-online.com/Forums/bl...vironment.html

I've attached the log file for the OpenFOAM 2.4.x installation. The first error is:
Code:
-- Sources for CGAL component library 'CGAL_Core/CMakeLists.txt' detected
CMake Error at Installation/src/CMakeLists.txt:81 (add_subdirectory):
  add_subdirectory given source
  "/home/user/OpenFOAM/ThirdParty-2.4.x/CGAL-4.6/CGAL_Core/src/CGAL_Core/CMakeLists.txt"
  which is not an existing directory.
Call Stack (most recent call first):
  Installation/src/CMakeLists.txt:140 (configure_component)
I originally followed the installation instructions here: https://openfoamwiki.net/index.php/I...M-2.4.x/Ubuntu
But I was getting errors with Scotch6.0.3. I therefore copied the Scotch6.0.9 files from the ThirdParty-9 folder to the ThirdParty-2.4.x folder and changed the line in the scotch configuration file "etc/config/scotch.sh" to
Code:
export SCOTCH_VERSION=scotch_6.0.9
I believe there was also an error building CMake2.8.12.1 which is used for OpenFOAM2.4.x. Can I get it to use CMake3.16.3 which I already have? I've attached the log file for CMake too. Or is there another solution to the OpenFOAM2.4.x problems?

Please let me know if I can give more information.
Attached Files
File Type: zip log.zip (147.0 KB, 0 views)
File Type: zip logCM.zip (8.1 KB, 0 views)
sabrahams is offline   Reply With Quote

Reply


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
[OpenFOAM.com] Installing OpenFOAM 2.4.0 on Ubuntu 20.04 for Windows RKyle OpenFOAM Installation 5 January 25, 2022 10:45
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
[OpenFOAM.org] Installing OpenFOAM 2.3.x on Ubuntu 14.04 samiam1000 OpenFOAM Installation 4 January 26, 2015 02:44
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Gettings started after installing OpenFOAM 2.1.1 in Ubuntu 12.10 yoddha24 OpenFOAM 7 November 22, 2012 11:46


All times are GMT -4. The time now is 04:30.