problem with third-part dependencies during installation
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? |
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? |
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 |
Hello Niels,
thank you very much for your response. OK, I will use another platform then. Best, Kostas |
Could you successfully compile v1912 and waves2Foam in it?
Best Regards, Akram Quote:
|
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 |
Hi Kostas,
Thank you for your response. Best regards, Akram |
Quote:
I met the same problem. How do you solve this problem? (Problems with the compilation of the third party dependencies) |
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? |
All times are GMT -4. The time now is 23:18. |