|
[Sponsors] |
[waves2Foam] Problems compiling with OpenFOAM 3.0.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2016, 22:58 |
Problems compiling with OpenFOAM 3.0.1
|
#1 |
New Member
Kenric
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
*Need Help Compiling* I've been following step by step of phmusi, and when i ./Allwmake, this is the error i've got
===================================== COMPILE SOLVERS ===================================== Making dependency list for source file waveFoam.C g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam30/src/transportModels -I/opt/openfoam30/src/transportModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam30/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -I/opt/openfoam30/src/fvOptions/lnInclude -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/sampling/lnInclude -DOFVERSION=300 -DEXTBRANCH=0 -DXVERSION=0 -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2Foam/lnInclude -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2FoamSampling/lnInclude -I/usr/include -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -c waveFoam.C -o Make/linux64GccDPInt32Opt/waveFoam.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam30/src/transportModels -I/opt/openfoam30/src/transportModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam30/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -I/opt/openfoam30/src/fvOptions/lnInclude -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/sampling/lnInclude -DOFVERSION=300 -DEXTBRANCH=0 -DXVERSION=0 -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2Foam/lnInclude -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2FoamSampling/lnInclude -I/usr/include -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/waveFoam.o -L/opt/openfoam30/platforms/linux64GccDPInt32Opt/lib \ -limmiscibleIncompressibleTwoPhaseMixture -lturbulenceModels -lincompressibleTurbulenceModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -L/home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/lib -lwaves2Foam -lwaves2FoamSampling -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl \ -lm -o /opt/openfoam30/platforms/linux64GccDPInt32Opt/bin/waveFoam /usr/bin/ld: cannot find -lwaves2Foam /usr/bin/ld: cannot find -lwaves2FoamSampling collect2: error: ld returned 1 exit status make: *** [/opt/openfoam30/platforms/linux64GccDPInt32Opt/bin/waveFoam] Error 1 ===================================== COMPILE PRE-PROCESSING ===================================== make[1]: Entering directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/faceSetToSTL' Making dependency list for source file faceSetToSTL.C could not open file foamTime.H for source file faceSetToSTL.C due to No such file or directory make[1]: Leaving directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/faceSetToSTL' make[1]: Entering directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/faceSetToSTL' g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/triSurface/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -DOFVERSION=301 -DEXTBRANCH=0 -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -c faceSetToSTL.C -o Make/linux64GccDPInt32Opt/faceSetToSTL.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/triSurface/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -DOFVERSION=301 -DEXTBRANCH=0 -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/faceSetToSTL.o -L/opt/openfoam30/platforms/linux64GccDPInt32Opt/lib \ -lOpenFOAM -ltriSurface -lfiniteVolume -lOpenFOAM -ldl \ -lm -o /home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/bin/faceSetToSTL make[1]: Leaving directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/faceSetToSTL' make[1]: Entering directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout' Making dependency list for source file relaxationZoneLayout.C could not open file foamTime.H for source file relaxationZoneLayout.C due to No such file or directory make[1]: Leaving directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout' make[1]: Entering directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout' g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -DOFVERSION=301 -DEXTBRANCH=0 -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -c relaxationZoneLayout.C -o Make/linux64GccDPInt32Opt/relaxationZoneLayout.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -DOFVERSION=301 -DEXTBRANCH=0 -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/relaxationZoneLayout.o -L/opt/openfoam30/platforms/linux64GccDPInt32Opt/lib \ -lfiniteVolume -L/home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/lib -lwaves2Foam -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl \ -lm -o /home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/bin/relaxationZoneLayout /usr/bin/ld: cannot find -lwaves2Foam collect2: error: ld returned 1 exit status make[1]: *** [/home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/bin/relaxationZoneLayout] Error 1 make[1]: Leaving directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout' make: *** [relaxationZoneLayout] Error 2 ===================================== COMPILE POST-PROCESSING ===================================== make[1]: Entering directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/postProcessing/postProcessWaves2Foam' Making dependency list for source file postProcessWaves2Foam.C could not open file foamTime.H for source file postProcessWaves2Foam.C due to No such file or directory make[1]: Leaving directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/postProcessing/postProcessWaves2Foam' make[1]: Entering directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/postProcessing/postProcessWaves2Foam' g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2Foam/src/lnInclude -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=301 -DEXTBRANCH=0 -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -c postProcessWaves2Foam.C -o Make/linux64GccDPInt32Opt/postProcessWaves2Foam.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2Foam/src/lnInclude -I/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=301 -DEXTBRANCH=0 -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/postProcessWaves2Foam.o -L/opt/openfoam30/platforms/linux64GccDPInt32Opt/lib \ -lOpenFOAM -lfiniteVolume -L/home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/lib -lwaves2Foam -lwaves2FoamProcessing -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl \ -lm -o /home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam /usr/bin/ld: cannot find -lwaves2Foam /usr/bin/ld: cannot find -lwaves2FoamProcessing collect2: error: ld returned 1 exit status make[1]: *** [/home/oecu/OpenFOAM/oecu-3.0.1/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam] Error 1 make[1]: Leaving directory `/home/oecu/OpenFOAM/oecu-3.0.1/waves2Foam/applications/utilities/postProcessing/postProcessWaves2Foam' make: *** [postProcessWaves2Foam] Error 2 ===================================== COMPILATION DONE ===================================== When i try to compile with wmake, i also got this error, g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam30/src/transportModels -I/opt/openfoam30/src/transportModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam30/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -I/opt/openfoam30/src/fvOptions/lnInclude -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/sampling/lnInclude -DOFVERSION=300 -DEXTBRANCH=0 -DXVERSION= -I/waves2Foam/lnInclude -I/waves2FoamSampling/lnInclude -I -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/waveFoam.o -L/opt/openfoam30/platforms/linux64GccDPInt32Opt/lib \ -limmiscibleIncompressibleTwoPhaseMixture -lturbulenceModels -lincompressibleTurbulenceModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -L -lwaves2Foam -lwaves2FoamSampling -L -lgsl -lgslcblas -lOpenFOAM -ldl \ -lm -o /opt/openfoam30/platforms/linux64GccDPInt32Opt/bin/waveFoam /usr/bin/ld: cannot find -lwaves2FoamSampling collect2: error: ld returned 1 exit status make: *** [/opt/openfoam30/platforms/linux64GccDPInt32Opt/bin/waveFoam] Error 1 Appreciate if anyone out there can help me out. Thank you very much. |
|
May 29, 2016, 23:00 |
|
#2 |
New Member
Kenric
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
when i wclean and compile again, i get this error
Making dependency list for source file waveFoam.C could not open file relaxationZone.H for source file waveFoam.C due to No such file or directory could not open file externalWaveForcing.H for source file waveFoam.C due to No such file or directory could not open file readWaveProperties.H for source file waveFoam.C due to No such file or directory could not open file createExternalWaveForcing.H for source file waveFoam.C due to No such file or directory g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam30/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam30/src/transportModels -I/opt/openfoam30/src/transportModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam30/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam30/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/opt/openfoam30/src/finiteVolume/lnInclude -I/opt/openfoam30/src/fvOptions/lnInclude -I/opt/openfoam30/src/meshTools/lnInclude -I/opt/openfoam30/src/sampling/lnInclude -DOFVERSION=300 -DEXTBRANCH=0 -DXVERSION= -I/waves2Foam/lnInclude -I/waves2FoamSampling/lnInclude -I -IlnInclude -I. -I/opt/openfoam30/src/OpenFOAM/lnInclude -I/opt/openfoam30/src/OSspecific/POSIX/lnInclude -fPIC -c waveFoam.C -o Make/linux64GccDPInt32Opt/waveFoam.o waveFoam.C:55:28: fatal error: relaxationZone.H: No such file or directory #include "relaxationZone.H" ^ compilation terminated. make: *** [Make/linux64GccDPInt32Opt/waveFoam.o] Error 1 |
|
May 30, 2016, 02:28 |
|
#3 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good morning Kenric,
You are experiencing linking problems, because your libraries have not been compiled. You do not show that part of the compilation errors, so it is not possible to guide you. 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. |
|
November 8, 2016, 02:04 |
ask you the solution
|
#4 | |
New Member
Jianxi Yao
Join Date: Apr 2011
Posts: 17
Rep Power: 15 |
I have the same problem. Could you please give me your solution. Thanks in advance.
Quote:
|
||
November 8, 2016, 02:15 |
|
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good morning,
I expect that the answer is given here: Changing the alphaExponent value in the relaxationSchemeSpatial.C file - post #2 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. Last edited by wyldckat; August 25, 2018 at 08:46. Reason: Replaced link for the new location of that post |
|
November 8, 2016, 02:27 |
|
#6 | |
New Member
Jianxi Yao
Join Date: Apr 2011
Posts: 17
Rep Power: 15 |
Thank you for the reply.
I meet the problem when install your wave2Foam on OpenFOAM 3.0.1. i compile wavefoam then Making dependency list for source file waveFoam.C could not open file relaxationZone.H for source file waveFoam.C due to No such file or directory could not open file externalWaveForcing.H for source file waveFoam.C due to No such file or directory could not open file readWaveProperties.H for source file waveFoam.C due to No such file or directory could not open file createExternalWaveForcing.H for source file waveFoam.C due to No such file or directory g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/twoPhaseMixture/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/transportModels -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/incompressible/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/interfaceProperties/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/TurbulenceModels/incompressible/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/finiteVolume/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/fvOptions/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/sampling/lnInclude -DOFVERSION=300 -DEXTBRANCH=0 -DOFPLUSBRANCH=0 -DXVERSION= -I/waves2Foam/lnInclude -I/waves2FoamSampling/lnInclude -I -IlnInclude -I. -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/yao/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c waveFoam.C -o Make/linux64GccDPInt32Opt/waveFoam.o waveFoam.C:55:28: fatal error: relaxationZone.H: no such file compilation terminated. /home/yao/OpenFOAM/OpenFOAM-3.0.1/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/waveFoam.o' failed make: *** [Make/linux64GccDPInt32Opt/waveFoam.o] Error 1 ===================================== ENVIRONMENTAL VARIABLES ===================================== EXTBRANCH=0 FOAMEXTENDPROJECT=0 OFPLUSBRANCH=0 WAVES_APPBIN=/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin WAVES_DIR=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam WAVES_GSL_INCLUDE=/usr/include WAVES_GSL_LIB=/usr/lib64 WAVES_LIBBIN=/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/lib WAVES_POST=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/applications/utilities/postProcessing WAVES_PRE=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/applications/utilities/preProcessing WAVES_SOL=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/applications/solvers/solvers301 WAVES_SRC=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/src WAVES_TUT=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/tutorials WAVES_UTIL=/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/applications/utilities WAVES_XVERSION=0 WM_PROJECT_VERSION_NUMBER=301 ===================================== COMPILE LAPACK-3.3.1 ===================================== lapack-3.3.1 has already been compiled ===================================== COMPILE SPARSKIT2 ===================================== SPARSKIT2 has already been compiled ===================================== COMPILE OCEANWAVE3D ===================================== Pull changes from the OceanWave3D git repository ... *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'yao@yao-Precision-Tower-7910.(none)') stash。 OceanWave3D has already been compiled /home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/ThirdParty ===================================== COMPILE FENTON4FOAM ===================================== fenton4Foam has already been compiled ===================================== COMPILE LIBRARY ===================================== '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/lib/libwaves2Foam.so' is up to date. '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamProcessing.so' is up to date. '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamSampling.so' is up to date. '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamPorosity.so' is up to date. ===================================== COMPILE SOLVERS ===================================== ls: 无法访问'/home/yao/OpenFOAM/yao-3.0.1/applications/utilities/waves2Foam/applications/solvers/solvers301/*': 没有那个文件或目录 ===================================== COMPILE PRE-PROCESSING ===================================== make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/faceSetToSTL' is up to date. make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/relaxationZoneLayout' is up to date. make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/setWaveField' is up to date. make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/waveGaugesNProbes' is up to date. make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/setWaveParameters' is up to date. ===================================== COMPILE POST-PROCESSING ===================================== make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam' is up to date. make[1]: '/home/yao/OpenFOAM/yao-3.0.1/platforms/linux64GccDPInt32Opt/bin/surfaceElevation' is up to date. ===================================== COMPILATION DONE ===================================== Quote:
|
||
November 8, 2016, 07:40 |
|
#7 |
New Member
Kenric
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
Hello Jianxi Yao, Please install the dependencies (gfortran and git) in 8.1 from https://openfoamwiki.net/index.php/Contrib/waves2Foam and compile the solver by running ./Allwmake command. I believe this will solve your issue.
Last edited by kenrichaiz; November 8, 2016 at 07:46. Reason: refer to user |
|
August 28, 2018, 07:19 |
|
#8 |
New Member
Kazakis Ioannis
Join Date: Sep 2016
Location: Thessaloniki, Greece
Posts: 24
Rep Power: 10 |
Dear Niels
I'm trying to install waves2Foam across openFoam 3.0.1. Everything seems to go right, (complilation, etc), but when i execute a case e.g bejiBattjes, everything is working (blockMesh, setwafields, setwaveParameters, waveGaugesNprobes), except the solver, waveFoam. I have this message in log file. /opt/openfoam30/bin/tools/RunFunctions: line 52: waveFoam: command not found. I would be gratefull if you could provide me some advice. Kind regards John |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Various problems compiling interFoam with CFDSupport's v1706 port of OpenFOAM | ndtrong | OpenFOAM Programming & Development | 9 | April 10, 2020 12:56 |
Some problems in naca 0012 V&V case of NASA TMR and DPW using OpenFOAM | chengdi | OpenFOAM Running, Solving & CFD | 7 | October 5, 2019 14:20 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
Problems with OpenFOAM 2.3.0 on Ubuntu 14.04 | smallzilla | OpenFOAM Installation | 15 | September 14, 2014 13:11 |
Getting crazy with all the problems I have in OpenFoam | Nicacio | OpenFOAM Running, Solving & CFD | 7 | June 9, 2014 20:08 |