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

[OpenFOAM.com] Can't find libraries for waves2Foam installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2020, 17:42
Default Can't find libraries for waves2Foam installation
  #1
New Member
 
Beatrice
Join Date: Mar 2020
Posts: 1
Rep Power: 0
Bulb44 is on a distinguished road
Hi! I have installed OpenFOAM on a Virtual Machine with Ubuntu, with the help of Docker. Now I am trying to install waves2Foam but it doesn't work. In particular, I always get the following error:


/usr/bin/ld: cannot find -lwaves2Foam
/usr/bin/ld: cannot find -lwaves2FoamProcessing
/usr/bin/ld: cannot find -lgsl
/usr/bin/ld: cannot find -lgslcblas
collect2: error: ld returned 1 exit status



I think that this is the problem and I am trying to understand where to find those libraries, with no success. In any case, I put here my log file, in case the error is something else.


Could you help me, please?

Thanks,


B
Attached Files
File Type: txt output.txt (17.4 KB, 11 views)
Bulb44 is offline   Reply With Quote

Old   October 9, 2020, 17:04
Default
  #2
New Member
 
Ali Salimi
Join Date: Dec 2018
Posts: 1
Rep Power: 0
AliSalimi is on a distinguished road
the fortran should be included in The OpenFOAM*.*/ThirdParty*.*/makeGcc line 290/ --enable languages:c,c++,fortran
the last one is not there by default.

so after adding the fortran to the line, go to ThirdParty*.* directory and ./Allwclean and then ./Allwmake.

This will solve your problem.
AliSalimi is offline   Reply With Quote

Old   December 28, 2020, 10:33
Default cannot find -lgfortran
  #3
Member
 
le
Join Date: Nov 2009
Location: seoul
Posts: 34
Rep Power: 17
fsifsi is on a distinguished road
Quote:
Originally Posted by AliSalimi View Post
the fortran should be included in The OpenFOAM*.*/ThirdParty*.*/makeGcc line 290/ --enable languages:c,c++,fortran
the last one is not there by default.

so after adding the fortran to the line, go to ThirdParty*.* directory and ./Allwclean and then ./Allwmake.

This will solve your problem.
I have same problem when install waves2foam in of1812 as:
cannot find -lgfortran
cannot find -lwaves2Foam

Could you explain your comments in detail please.
Thanks
fsifsi is offline   Reply With Quote

Old   September 14, 2021, 11:17
Default
  #4
New Member
 
cesa
Join Date: May 2021
Location: Lisboa, Portugal
Posts: 18
Rep Power: 5
cesa is on a distinguished road
Quote:
Originally Posted by AliSalimi View Post
the fortran should be included in The OpenFOAM*.*/ThirdParty*.*/makeGcc line 290/ --enable languages:c,c++,fortran
the last one is not there by default.

so after adding the fortran to the line, go to ThirdParty*.* directory and ./Allwclean and then ./Allwmake.

This will solve your problem.



Hello, could you please elaborate more? Should I change and recompile the ThirdParty from OpenFOAM (~/OpenFOAM/ThirdParty-v1912) or the ThirdParty inside waves2foam? (~/OpenFOAM/user-v1912/applications/utilities/waves2foam/ThirdParty)?


Also, if I need to run ./Allwmake inside ~/OpenFOAM/ThirdParty-v1912 will it affect any simulations running on OF-v1912? Thanks!
cesa is offline   Reply With Quote

Reply

Tags
openfoam 1912, waves2foam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 05:01
[SOWFA] SOWFA installation OpenFOAM 2.4.x OpenFAST mörli OpenFOAM Community Contributions 6 July 29, 2020 13:48
[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
UDF input parameter "unable to find rpvar" sergiocavaleirocosta Fluent UDF and Scheme Programming 4 March 26, 2019 08:57
[Other] Installation of two versions of OF, cannot find after installation mseka OpenFOAM Installation 1 July 16, 2017 19:44


All times are GMT -4. The time now is 20:29.