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

[OpenFOAM.com] Avalanche error: OpenFOAM-v1906 installation on Ubuntu 20.04.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2020, 17:11
Default Avalanche error: OpenFOAM-v1906 installation on Ubuntu 20.04.1
  #1
Member
 
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8
hconel is on a distinguished road
Hi,
I'm getting an error regarding "avalanche" while I build OpenFOAM-v1906 from source on Ubuntu 20.04.1:

Code:
ld: /home/hconel/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt64Opt/lib/libfaAvalanche.so
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/deposition/depositionModel/depositionModel.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/deposition/depositionModel/depositionModelNew.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/deposition/depositionOff/depositionOff.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/deposition/Stoppingprofile/Stoppingprofile.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/entrainmentModel/entrainmentModel.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/entrainmentModel/entrainmentModelNew.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/entrainmentOff/entrainmentOff.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/Erosionenergy/Erosionenergy.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/Front/Front.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/IsslerFC/IsslerFC.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/entrainment/Medina/Medina.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/frictionModel/frictionModel.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/frictionModel/frictionModelNew.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/PoliquenForterre/PoliquenForterre.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/muI/muI.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/Voellmy/Voellmy.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/kt/kt.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/DarcyWeisbach/DarcyWeisbach.o: No such file or directory
g++: error: /home/hconel/OpenFOAM/OpenFOAM-v1906/build/linux64GccDPInt64Opt/modules/avalanche/src/avalanche/friction/ManningStrickler/ManningStrickler.o: No such file or directory
make[1]: *** [/home/hconel/OpenFOAM/OpenFOAM-v1906/wmake/makefiles/general:177: /home/hconel/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt64Opt/lib/libfaAvalanche.so] Error 1
make: *** [/home/hconel/OpenFOAM/OpenFOAM-v1906/wmake/makefiles/apps:29: avalanche] Error 2
I couldn't understand why the script does not compile the mentioned object file(s).
The weird thing is I did not get this error on another machine which also runs the same Ubuntu version.
Any help will be appreciated.
Regards,
Huseyin
hconel is offline   Reply With Quote

Old   November 8, 2020, 18:16
Default
  #2
Member
 
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8
hconel is on a distinguished road
That was actually my mistake.
I was not able to see the root of the problem since I was checking the log of my second ./Allwmake run, which hides some of the main output.
Apparently, I did not have "flex" installed which is actually in the prerequisite list:

https://www.openfoam.com/documentati...quirements.php

Just install everything here and you are good to go.
hconel is offline   Reply With Quote

Old   November 12, 2020, 17:30
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
For 1912 and 2006 versions, you can save the compilation time and use the Ubuntu packs (see the openfoam.com wiki pages)
olesen is offline   Reply With Quote

Reply

Tags
openfoam 1906, ubuntu 20.04


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
Ansys Installation on Docker Container mohsen.shiea ANSYS 11 March 14, 2024 12:18
how do i fix installation error of ansys 19.0 on ubuntu 18.04 rid_taki ANSYS 15 June 7, 2021 07:32
[CAD formats] MegaCads Installation on Ubuntu NablaDyn OpenFOAM Meshing & Mesh Conversion 13 May 29, 2020 14:17
[OpenFOAM.org] Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04 titanium OpenFOAM Installation 14 February 20, 2020 12:46
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 06:24.