|
[Sponsors] |
[waves2Foam] problem with third-part dependencies during installation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 4, 2020, 01:15 |
problem with third-part dependencies during installation
|
#1 |
New Member
Kostas
Join Date: May 2018
Posts: 18
Rep Power: 7 |
Hi,
I am having a difficulty on correctly installing waves2foam in OpenFoam 6 in mac Catalina. As instructed in the manual, initially I have installed the following third-party dependencies: git --version git version 2.25.2 whereis svn /usr/bin/svn gfortran --version GNU Fortran (GCC) 5.2.0 Copyright (C) 2015 Free Software Foundation, Inc. gsl-config --version 2.6 After sourcing OPENFOAM environment, I have initialised the download process of waves2foam through the following link: svn co http://svn.code.sf.net/p/openfoam-extend/svn/trunk/\ Breeder_1.6/other/waves2Foam to the utilities directory of the OpenFoam directory: /Volumes/OpenFOAM/OpenFOAM-6/applications/utilities at the end of which I have encountered the following flag: Checked out revision 2139. I then moved to the bin/bashrc and correct the paths as follow: export WAVES_DIR=/Volumes/OpenFOAM/OpenFOAM-6/applications/utilities/waves2Foam I also point out that I convert the prepareCase.sh into an executable before the installation process began. Then, I ran the installation command (./Allwmake inside the waves2foam directory), and I got the following error ======================================== ===================================== COMPILE OCEANWAVE3D ===================================== Cloning the OceanWave3D git repository ... Cloning into 'OceanWave3D-Fortran90'... remote: Enumerating objects: 5024, done. remote: Total 5024 (delta 0), reused 0 (delta 0), pack-reused 5024 Receiving objects: 100% (5024/5024), 16.61 MiB | 756.00 KiB/s, done. Resolving deltas: 100% (3755/3755), done. Set the environmental variables for waves2Foam Exiting compilation process Problems with the compilation of the third party dependencies Exiting ======================================== It says that I have some issues related to third party dependencies, but I have properly installed all the proposed ones (see beginning of this post). The problem occurs at OceanWave3D, which the compiler can access through git. Any advice? |
|
April 6, 2020, 11:59 |
|
#2 |
New Member
Kostas
Join Date: May 2018
Posts: 18
Rep Power: 7 |
I recompiled the code and I get a number of errors, the first one being:
waveTheories/regular/cnoidalFirst/cnoidalFirst.C:30:10: fatal error: 'gsl/gsl_sf_ellint.h' file not found #include "gsl/gsl_sf_ellint.h" ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [/Volumes/OpenFOAM/OpenFOAM-6/platforms/darwin64ClangDPInt32Opt/applications/utilities/waves2Foam/src/waves2Foam/waveTheories/regular/cnoidalFirst/cnoidalFirst.o] Error 1 make: *** Waiting for unfinished jobs.... wmake libso . wmakeLnInclude: linking include files to ./lnInclude At the end of the compilation process, I get the following: ld: library not found for -lwaves2Foam clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [/Users/kotsios/OpenFOAM/kotsios-6/platforms/darwin64ClangDPInt32Opt/bin/postProcessWaves2Foam] Error 1 make: *** [postProcessWaves2Foam] Error 2 ===================================== COMPILE BREEDER ===================================== Nothing available for compilation in the breeder directory. ===================================== COMPILATION DONE ===================================== Many files are not found, and I do not know if this is related with the fact that, in order to install OpenFoam, I did my mac case sensitive. Are there any suggestions on how to fix this? |
|
April 7, 2020, 06:21 |
|
#3 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hallo Kostas,
Note that I am not supporting waves2Foam on that OpenFoam platform. The code should compile without problems on e.g. v1812 and v1912. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
April 7, 2020, 08:09 |
|
#4 |
New Member
Kostas
Join Date: May 2018
Posts: 18
Rep Power: 7 |
Hello Niels,
thank you very much for your response. OK, I will use another platform then. Best, Kostas |
|
April 13, 2020, 02:10 |
|
#5 |
New Member
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 6 |
||
April 16, 2020, 14:50 |
|
#6 |
New Member
Kostas
Join Date: May 2018
Posts: 18
Rep Power: 7 |
Hi Akram,
I havent tried it yet. I intend to install it on a cluster so i am waiting to obtain access first. When I will do it I will come back to you. Best, Kostas |
|
April 16, 2020, 14:57 |
|
#7 |
New Member
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 6 |
Hi Kostas,
Thank you for your response. Best regards, Akram |
|
September 19, 2020, 02:25 |
|
#8 | |
New Member
Jiangxin
Join Date: Sep 2020
Posts: 2
Rep Power: 0 |
Quote:
I met the same problem. How do you solve this problem? (Problems with the compilation of the third party dependencies) |
||
January 12, 2022, 04:24 |
|
#9 | |
New Member
Francisco Pinto
Join Date: Dec 2021
Posts: 4
Rep Power: 4 |
Quote:
I am facing the same problem as you. I am using the OF2012. Did you manage to solve it? If so, can you explain what was the problem? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with installation | florvit | ANSYS | 0 | December 8, 2016 09:10 |
[ICEM] Problem in icem meshing with internal part | id.gomez65 | ANSYS Meshing & Geometry | 0 | October 29, 2016 18:30 |
[OpenFOAM.com] Installation Problem | Manyway | OpenFOAM Installation | 2 | July 8, 2016 13:47 |
Installation problem - calling blockMesh - libblockMesh.so | aylalisa | OpenFOAM Installation | 5 | November 28, 2012 09:55 |
CHT Problem with moving solid part | MaxHeat | FLUENT | 1 | November 28, 2012 03:06 |