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

[OpenFOAM.com] Solid4Foam - Compilation Error on OpenFOAM-7

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2021, 10:36
Default Solid4Foam - Compilation Error on OpenFOAM-7
  #1
New Member
 
Philipp Conen
Join Date: Jul 2021
Location: Germany, NRW
Posts: 22
Rep Power: 4
philippconen is on a distinguished road
Dear Foamers,


taking research on Fluid-Structur-Interaction (FSI) package, I found the package "Solid4Foam".

First I compiled OpenFOAM V7 (https://openfoamwiki.net/index.php/I...7/Ubuntu/18.04)

Following the steps mentioned in:
https://www.researchgate.net/profile...am-toolbox.pdf
I got the message of missing "gfortran" package.

I installed it via:
Code:
sudo apt update sudo apt install gfortran
Unfortunately I ended up with errors (see attachments).


Also I tried to compile it in foam-exent-4.0, but I also get some errors:
Code:
philipp-4.0/applications/bin/linux64GccDPOpt/solids4Foam
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
/home/philipp/foam/foam-extend-4.0/wmake/Makefile:159: recipe for target '/home/philipp/foam/philipp-4.0/applications/bin/linux64GccDPOpt/solids4Foam' failed
make[1]: *** [/home/philipp/foam/philipp-4.0/applications/bin/linux64GccDPOpt/solids4Foam] Error 1
/home/philipp/foam/foam-extend-4.0/wmake/MakefileApps:39: recipe for target 'solids4Foam' failed
make: *** [solids4Foam] Error 2
make: Target 'application' not remade because of errors.


Could anybody help me please?

I am using Ubuntu 18.4
Attached Files
File Type: gz log.Allwmake_Solid4Foam.gz (5.7 KB, 6 views)

Last edited by philippconen; July 22, 2021 at 11:59. Reason: Wrong file uploaded
philippconen is offline   Reply With Quote

Old   July 28, 2021, 12:14
Default
  #2
New Member
 
Philipp Conen
Join Date: Jul 2021
Location: Germany, NRW
Posts: 22
Rep Power: 4
philippconen is on a distinguished road
I found help in the following thread:
solids4Foam installation


This thread could be closed.
philippconen is offline   Reply With Quote

Old   September 22, 2021, 09:42
Default
  #3
New Member
 
Filippo Azzini
Join Date: Apr 2020
Posts: 10
Rep Power: 6
Filippo_azz is on a distinguished road
Quote:
Originally Posted by philippconen View Post
I found help in the following thread:
solids4Foam installation


This thread could be closed.

I have the same problem but i can not fix it following that tread, i'm working on Ubuntu 20.04and foam extended 4.0, someone can help?


thanks a lot
Filippo_azz is offline   Reply With Quote

Reply

Tags
compilation, installation, openfoam7, pow, solid4foam


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 25 August 14, 2022 13:55
[OpenFOAM.org] OpenFOAM 5.0: sudden new compilation error on on the Titan supercomputer (Cray) wildfire230 OpenFOAM Installation 1 July 15, 2018 10:06
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFoam 2.1.x /2.2.0 compilation failed on Ubuntu 12.04/10 64bit keepfit OpenFOAM Installation 2 March 26, 2013 09:43


All times are GMT -4. The time now is 22:10.