Can't find libraries for waves2Foam installation
1 Attachment(s)
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 |
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. |
cannot find -lgfortran
Quote:
cannot find -lgfortran cannot find -lwaves2Foam Could you explain your comments in detail please. Thanks |
Quote:
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! |
All times are GMT -4. The time now is 20:57. |