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

[waves2Foam] Tripping over several build issues with OpenFOAM 2.1.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2015, 05:29
Default Tripping over several build issues with OpenFOAM 2.1.1
  #1
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Dear Niels,

I am very interested in your work waves2foam and I am confused about the compilation at the moment.

1. I modified the interFoam according to waves2foam wiki, and then? where should I locate it?

2. I downloaded the wave2Foam ( Revision 2085) online from GitHub (my Ubuntu cannot get access to internet at the moment)and edited the bin/bashrc file to point to the path /home/yage/waes2Foam-master, where wave2Foam is located. My OpenFOAM version is 2.1.1

But when I run: bash Allwmake. I got the following error message:
Code:
 Allwmake: line 42: ./Allwmake: Permission denied
problems with the compilation of the third party dependencies
So I removed the thirdparty compilation, but I got another error message:
Code:
=====================================
    COMPILE SOLVERS
=====================================
linux64GccDPOpt/options:21: *** missing separator. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/yage/waves2Foam-master/applications/solvers/solvers211/interFoam
Making dependency list for source file porousWaveFoam.C
could not open file wavesPorosityModel.H for source file porousWaveFoam.C
could not open file relaxationZone.H for source file porousWaveFoam.C
could not open file externalWaveForcing.H for source file porousWaveFoam.C
could not open file readWaveProperties.H for source file porousWaveFoam.C
could not open file createExternalWaveForcing.H for source file porousWaveFoam.C
could not open file createPorosityFields.H for source file porousWaveFoam.C
could not open file calcPorosity.H for source file porousWaveFoam.C
SOURCE=porousWaveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/transportModels -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/interfaceProperties/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamPorosity/lnInclude -I/usr/include -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/porousWaveFoam.o
porousWaveFoam.C:53:32: fatal error: wavesPorosityModel.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/porousWaveFoam.o] Error 1
SOURCE=waveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/transportModels -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/interfaceProperties/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/usr/include -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveFoam.o
waveFoam.C:49:28: fatal error: relaxationZone.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/waveFoam.o] Error 1

=====================================
    COMPILE PRE-PROCESSING
=====================================
Making dependency list for source file faceSetToSTL.C
could not open file foamTime.H for source file faceSetToSTL.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/faceSetToSTL'
SOURCE=faceSetToSTL.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/triSurface/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/faceSetToSTL.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/triSurface/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/faceSetToSTL.o -L/home/yage/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib \
	     -lOpenFOAM -ltriSurface -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/faceSetToSTL
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/faceSetToSTL'
Making dependency list for source file relaxationZoneLayout.C
could not open file foamTime.H for source file relaxationZoneLayout.C
could not open file relaxationShape.H for source file relaxationZoneLayout.C
could not open file relaxationWeight.H for source file relaxationZoneLayout.C
could not open file readWaveProperties.H for source file relaxationZoneLayout.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/relaxationZoneLayout'
SOURCE=relaxationZoneLayout.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/relaxationZoneLayout.o
relaxationZoneLayout.C:71:29: fatal error: relaxationShape.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/relaxationZoneLayout.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/relaxationZoneLayout' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/relaxationZoneLayout'
make: *** [relaxationZoneLayout] Error 2
Making dependency list for source file setWaveField.C
could not open file foamTime.H for source file setWaveField.C
could not open file setWaveField.H for source file setWaveField.C
could not open file crossVersionCompatibility.H for source file setWaveField.C
could not open file externalWaveForcing.H for source file setWaveField.C
could not open file readWaveProperties.H for source file setWaveField.C
could not open file createExternalWaveForcing.H for source file setWaveField.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/setWaveField'
SOURCE=setWaveField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveField.o
setWaveField.C:71:26: fatal error: setWaveField.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/setWaveField.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/setWaveField' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/setWaveField'
make: *** [setWaveField] Error 2
Making dependency list for source file setWaveParameters.C
could not open file setWaveProperties.H for source file setWaveParameters.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/setWaveParameters'
SOURCE=setWaveParameters.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=211 -DEXTBRANCH=0 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/usr/include -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveParameters.o
setWaveParameters.C:64:31: fatal error: setWaveProperties.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/setWaveParameters.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/setWaveParameters' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/setWaveParameters'
make: *** [setWaveParameters] Error 2
Making dependency list for source file waveGaugesNProbes.C
could not open file foamTime.H for source file waveGaugesNProbes.C
could not open file waveGauges.H for source file waveGaugesNProbes.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/waveGaugesNProbes'
SOURCE=waveGaugesNProbes.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=211 -DEXTBRANCH=0 -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveGaugesNProbes.o
waveGaugesNProbes.C:61:24: fatal error: waveGauges.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/waveGaugesNProbes.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/waveGaugesNProbes' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/preProcessing/waveGaugesNProbes'
make: *** [waveGaugesNProbes] Error 2
make: Target `application' not remade because of errors.

=====================================
    COMPILE POST-PROCESSING
=====================================
Making dependency list for source file postProcessWaves2Foam.C
could not open file foamTime.H for source file postProcessWaves2Foam.C
could not open file postProcessingWaves.H for source file postProcessWaves2Foam.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/postProcessing/postProcessWaves2Foam'
SOURCE=postProcessWaves2Foam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/yage/waves2Foam-master/src/waves2Foam/src/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=211 -DEXTBRANCH=0 -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/postProcessWaves2Foam.o
postProcessWaves2Foam.C:59:33: fatal error: postProcessingWaves.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/postProcessWaves2Foam.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/postProcessing/postProcessWaves2Foam'
make: *** [postProcessWaves2Foam] Error 2
Making dependency list for source file surfaceElevation.C
could not open file IOsampledSurfaceElevation.H for source file surfaceElevation.C
could not open file sampledSurfaceElevation.H for source file surfaceElevation.C
could not open file readWaveProperties.H for source file surfaceElevation.C
make[1]: Entering directory `/home/yage/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
SOURCE=surfaceElevation.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/sampling/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -DOFVERSION=211 -DEXTBRANCH=0 -I/home/yage/waves2Foam-master/src/waves2Foam/lnInclude -I/home/yage/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/usr/include -IlnInclude -I. -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/yage/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/surfaceElevation.o
surfaceElevation.C:89:39: fatal error: IOsampledSurfaceElevation.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/surfaceElevation.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/surfaceElevation' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
make: *** [surfaceElevation] Error 2
make: Target `application' not remade because of errors.

=====================================
    COMPILATION DONE
=====================================
Could you help me with this problem?

Many thanks

REgards,
Y
Yage is offline   Reply With Quote

Old   December 20, 2015, 06:40
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Yage,

I appears that you are having permission issues with the compilation. The first step is to install the ThirdParty dependencies. The entire compilation process will break, if you do not succeed with this step.

Furthermore, since you are using version 2.1.1., there is no need for you to modify interFoam, because waveFoam is already provided with waves2Foam for this version of OpenFoam.

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.
ngj is offline   Reply With Quote

Old   December 20, 2015, 07:01
Default
  #3
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Quote:
Originally Posted by ngj View Post
Good morning Yage,

I appears that you are having permission issues with the compilation. The first step is to install the ThirdParty dependencies. The entire compilation process will break, if you do not succeed with this step.

Furthermore, since you are using version 2.1.1., there is no need for you to modify interFoam, because waveFoam is already provided with waves2Foam for this version of OpenFoam.

Kind regards,

Niels
HI Niels,

THanks for your reply.

I try to wmake each step (ThirdParty, Library, Solver..) separately and it works!

Regards,
Yage
Yage is offline   Reply With Quote

Old   December 20, 2015, 08:53
Default
  #4
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Quote:
Originally Posted by ngj View Post
Good morning Yage,

I appears that you are having permission issues with the compilation. The first step is to install the ThirdParty dependencies. The entire compilation process will break, if you do not succeed with this step.

Furthermore, since you are using version 2.1.1., there is no need for you to modify interFoam, because waveFoam is already provided with waves2Foam for this version of OpenFoam.

Kind regards,

Niels
HI again,

I finish the compilation and I got another problem:

Code:
Reading g

Reading waveProperties

Reading waveProperties

Reading field alpha

Reading field U

Reading field p

Setting the wave field ...
The setWaveField stops at the "Setting the wave field". Any suggestion?

I use potentialcurrent only for the inlet. The following is the CheckMesh:
Code:
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           2702654
    faces:            7780606
    internal faces:   7662569
    cells:            2540385
    boundary patches: 6
    point zones:      0
    face zones:       0
    cell zones:       0

Overall number of cells of each type:
    hexahedra:     2459510
    prisms:        4467
    wedges:        0
    pyramids:      0
    tet wedges:    14
    tetrahedra:    0
    polyhedra:     76394

Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
    Patch               Faces    Points   Surface topology                  
    frontAndBack        19176    19714    ok (non-closed singly connected)  
    inlet               7520     7745     ok (non-closed singly connected)  
    outlet              7520     7745     ok (non-closed singly connected)  
    lowerWall           2040     2132     ok (non-closed singly connected)  
    atmosphere          2040     2132     ok (non-closed singly connected)  
    blade_bladecoarse   79741    82074    ok (closed singly connected)      

Checking geometry...
    Overall domain bounding box (-1 -1 -1.5) (1.55 0.6 0.5)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (4.53135e-16 7.49871e-15 1.4504e-16) OK.
    Max cell openness = 4.41973e-16 OK.
    Max aspect ratio = 7.81186 OK.
    Minumum face area = 3.77004e-07. Maximum face area = 0.0031875.  Face area magnitudes OK.
    Min volume = 4.14209e-10. Max volume = 0.000125014.  Total volume = 8.1593.  Cell volumes OK.
    Mesh non-orthogonality Max: 50.7064 average: 5.85569
    Non-orthogonality check OK.
    Face pyramids OK.
    Max skewness = 2.16831 OK.
    Coupled point location match (average 0) OK.

Mesh OK.

End
Regards,
Yage
Yage is offline   Reply With Quote

Old   December 20, 2015, 08:53
Default
  #5
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Quote:
Originally Posted by ngj View Post
Good morning Yage,

I appears that you are having permission issues with the compilation. The first step is to install the ThirdParty dependencies. The entire compilation process will break, if you do not succeed with this step.

Furthermore, since you are using version 2.1.1., there is no need for you to modify interFoam, because waveFoam is already provided with waves2Foam for this version of OpenFoam.

Kind regards,

Niels
HI again,

I finish the compilation and I got another problem:

Code:
Reading g

Reading waveProperties

Reading waveProperties

Reading field alpha

Reading field U

Reading field p

Setting the wave field ...
The setWaveField stops at the "Setting the wave field". Any suggestion?

I use potentialcurrent only for the inlet. The following is the CheckMesh:
Code:
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           2702654
    faces:            7780606
    internal faces:   7662569
    cells:            2540385
    boundary patches: 6
    point zones:      0
    face zones:       0
    cell zones:       0

Overall number of cells of each type:
    hexahedra:     2459510
    prisms:        4467
    wedges:        0
    pyramids:      0
    tet wedges:    14
    tetrahedra:    0
    polyhedra:     76394

Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
    Patch               Faces    Points   Surface topology                  
    frontAndBack        19176    19714    ok (non-closed singly connected)  
    inlet               7520     7745     ok (non-closed singly connected)  
    outlet              7520     7745     ok (non-closed singly connected)  
    lowerWall           2040     2132     ok (non-closed singly connected)  
    atmosphere          2040     2132     ok (non-closed singly connected)  
    blade_bladecoarse   79741    82074    ok (closed singly connected)      

Checking geometry...
    Overall domain bounding box (-1 -1 -1.5) (1.55 0.6 0.5)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (4.53135e-16 7.49871e-15 1.4504e-16) OK.
    Max cell openness = 4.41973e-16 OK.
    Max aspect ratio = 7.81186 OK.
    Minumum face area = 3.77004e-07. Maximum face area = 0.0031875.  Face area magnitudes OK.
    Min volume = 4.14209e-10. Max volume = 0.000125014.  Total volume = 8.1593.  Cell volumes OK.
    Mesh non-orthogonality Max: 50.7064 average: 5.85569
    Non-orthogonality check OK.
    Face pyramids OK.
    Max skewness = 2.16831 OK.
    Coupled point location match (average 0) OK.

Mesh OK.

End
Regards,
Yage
Yage is offline   Reply With Quote

Old   December 21, 2015, 03:21
Default
  #6
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Yage,

Without an error message, it is impossible to say what the problem could be. But, are you sure that it is not just taking some time, because you have 2.5M cells?

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.
ngj is offline   Reply With Quote

Old   December 21, 2015, 03:21
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Yage,

Without an error message, it is impossible to say what the problem could be. But, are you sure that it is not just taking some time, because you have 2.5M cells?

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.
ngj is offline   Reply With Quote

Old   December 21, 2015, 06:22
Default
  #8
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Quote:
Originally Posted by ngj View Post
Good morning Yage,

Without an error message, it is impossible to say what the problem could be. But, are you sure that it is not just taking some time, because you have 2.5M cells?

Kind regards,

Niels
Good morning Niels,

This is no error messages coming out, it just "stuck" there.
I waited 2 hours yesterday and will try to give it some more time today to see if it works. thanks for your suggestion

Regards,
Yage
Yage is offline   Reply With Quote

Old   December 21, 2015, 06:22
Default
  #9
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Quote:
Originally Posted by ngj View Post
Good morning Yage,

Without an error message, it is impossible to say what the problem could be. But, are you sure that it is not just taking some time, because you have 2.5M cells?

Kind regards,

Niels
Good morning Niels,

This is no error messages coming out, it just "stuck" there.
I waited 2 hours yesterday and will try to give it some more time today to see if it works. thanks for your suggestion

Regards,
Yage
Yage is offline   Reply With Quote

Old   December 23, 2015, 20:58
Default
  #10
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Dear Neils

I re-try the setWaveField untility and it works without any delay, I dont know why...

Another thing is I would like to build up the waves2foam on my university cluster but it is not compiled correctly.

The thirdparty and library are built up successfully but the solver and utilities failed.

Code:
Making dependency list for source file porousWaveFoam.C
could not open file incompressibleTwoPhaseMixture.H for source file porousWaveFoam.C
SOURCE=porousWaveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamPorosity/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/porousWaveFoam.o
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H: In function 'int main(int, char**)':
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable 'maxDeltaT' [-Wunused-variable]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamPorosity/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/porousWaveFoam.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -linterfaceProperties -ltwoPhaseInterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lmeshTools -lfvOptions -lsampling -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -lwaves2FoamPorosity -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/porousWaveFoam
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/porousWaveFoam] Error 1
Making dependency list for source file waveFoam.C
SOURCE=waveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveFoam.o
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H: In function 'int main(int, char**)':
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable 'maxDeltaT' [-Wunused-variable]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/waveFoam.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -linterfaceProperties -ltwoPhaseInterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lmeshTools -lfvOptions -lsampling -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveFoam
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveFoam] Error 1

=====================================
    COMPILE PRE-PROCESSING
=====================================
Making dependency list for source file faceSetToSTL.C
could not open file foamTime.H for source file faceSetToSTL.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/faceSetToSTL'
SOURCE=faceSetToSTL.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/triSurface/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/faceSetToSTL.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/triSurface/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/faceSetToSTL.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lOpenFOAM -ltriSurface -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/faceSetToSTL
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libtriSurface.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/faceSetToSTL] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/faceSetToSTL'
make: *** [faceSetToSTL] Error 2
Making dependency list for source file relaxationZoneLayout.C
could not open file foamTime.H for source file relaxationZoneLayout.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/relaxationZoneLayout'
SOURCE=relaxationZoneLayout.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/relaxationZoneLayout.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/relaxationZoneLayout.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/relaxationZoneLayout'
make: *** [relaxationZoneLayout] Error 2
Making dependency list for source file setWaveField.C
could not open file foamTime.H for source file setWaveField.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveField'
SOURCE=setWaveField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveField.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveField.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveField
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveField] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveField'
make: *** [setWaveField] Error 2
Making dependency list for source file setWaveParameters.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveParameters'
SOURCE=setWaveParameters.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveParameters.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveParameters.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveParameters
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveParameters] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveParameters'
make: *** [setWaveParameters] Error 2
Making dependency list for source file waveGaugesNProbes.C
could not open file foamTime.H for source file waveGaugesNProbes.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/waveGaugesNProbes'
SOURCE=waveGaugesNProbes.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveGaugesNProbes.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/waveGaugesNProbes.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lOpenFOAM -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/waveGaugesNProbes'
make: *** [waveGaugesNProbes] Error 2
make: Target `application' not remade because of errors.
Any suggestion about the error?

Regards,
Yage
Yage is offline   Reply With Quote

Old   December 23, 2015, 20:58
Default
  #11
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
Dear Neils

I re-try the setWaveField untility and it works without any delay, I dont know why...

Another thing is I would like to build up the waves2foam on my university cluster but it is not compiled correctly.

The thirdparty and library are built up successfully but the solver and utilities failed.

Code:
Making dependency list for source file porousWaveFoam.C
could not open file incompressibleTwoPhaseMixture.H for source file porousWaveFoam.C
SOURCE=porousWaveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamPorosity/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/porousWaveFoam.o
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H: In function 'int main(int, char**)':
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable 'maxDeltaT' [-Wunused-variable]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamPorosity/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/porousWaveFoam.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -linterfaceProperties -ltwoPhaseInterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lmeshTools -lfvOptions -lsampling -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -lwaves2FoamPorosity -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/porousWaveFoam
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/porousWaveFoam] Error 1
Making dependency list for source file waveFoam.C
SOURCE=waveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveFoam.o
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H: In function 'int main(int, char**)':
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable 'maxDeltaT' [-Wunused-variable]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/incompressible/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/transportModels/interfaceProperties/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/incompressible/turbulenceModel -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fvOptions/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/waveFoam.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -linterfaceProperties -ltwoPhaseInterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lmeshTools -lfvOptions -lsampling -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveFoam
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveFoam] Error 1

=====================================
    COMPILE PRE-PROCESSING
=====================================
Making dependency list for source file faceSetToSTL.C
could not open file foamTime.H for source file faceSetToSTL.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/faceSetToSTL'
SOURCE=faceSetToSTL.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/triSurface/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/faceSetToSTL.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/triSurface/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/faceSetToSTL.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lOpenFOAM -ltriSurface -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/faceSetToSTL
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libtriSurface.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/faceSetToSTL] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/faceSetToSTL'
make: *** [faceSetToSTL] Error 2
Making dependency list for source file relaxationZoneLayout.C
could not open file foamTime.H for source file relaxationZoneLayout.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/relaxationZoneLayout'
SOURCE=relaxationZoneLayout.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/relaxationZoneLayout.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/relaxationZoneLayout.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/relaxationZoneLayout'
make: *** [relaxationZoneLayout] Error 2
Making dependency list for source file setWaveField.C
could not open file foamTime.H for source file setWaveField.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveField'
SOURCE=setWaveField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveField.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveField.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveField
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveField] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveField'
make: *** [setWaveField] Error 2
Making dependency list for source file setWaveParameters.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveParameters'
SOURCE=setWaveParameters.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveParameters.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveParameters.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveParameters
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/setWaveParameters] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/setWaveParameters'
make: *** [setWaveParameters] Error 2
Making dependency list for source file waveGaugesNProbes.C
could not open file foamTime.H for source file waveGaugesNProbes.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/waveGaugesNProbes'
SOURCE=waveGaugesNProbes.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveGaugesNProbes.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/waveGaugesNProbes.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lOpenFOAM -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/preProcessing/waveGaugesNProbes'
make: *** [waveGaugesNProbes] Error 2
make: Target `application' not remade because of errors.
Any suggestion about the error?

Regards,
Yage
Yage is offline   Reply With Quote

Old   December 23, 2015, 20:59
Default
  #12
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
and this is for post-processing
Code:
=====================================
    COMPILE POST-PROCESSING
=====================================
Making dependency list for source file postProcessWaves2Foam.C
could not open file foamTime.H for source file postProcessWaves2Foam.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/postProcessWaves2Foam'
SOURCE=postProcessWaves2Foam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/src/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/postProcessWaves2Foam.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/src/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/postProcessWaves2Foam.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lOpenFOAM -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/postProcessWaves2Foam'
make: *** [postProcessWaves2Foam] Error 2
Making dependency list for source file surfaceElevation.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
SOURCE=surfaceElevation.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/lagrangian/basic/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fileFormats/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/surfaceElevation.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/lagrangian/basic/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fileFormats/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/surfaceElevation.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -lmeshTools -lsampling -lsurfMesh -llagrangian -lfileFormats -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/surfaceElevation
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/surfaceElevation] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
make: *** [surfaceElevation] Error 2
make: Target `application' not remade because of errors.

Last edited by wyldckat; August 25, 2018 at 12:46. Reason: repaired the [CODE] block
Yage is offline   Reply With Quote

Old   December 23, 2015, 20:59
Default
  #13
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 12
Yage is on a distinguished road
and this is for post-processing
Code:
=====================================
    COMPILE POST-PROCESSING
=====================================
Making dependency list for source file postProcessWaves2Foam.C
could not open file foamTime.H for source file postProcessWaves2Foam.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/postProcessWaves2Foam'
SOURCE=postProcessWaves2Foam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/src/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/postProcessWaves2Foam.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/src/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/lnInclude -I/local/software/gsl/1.15/include -DOFVERSION=220 -DEXTBRANCH=0 -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/postProcessWaves2Foam.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lOpenFOAM -lfiniteVolume -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/postProcessWaves2Foam'
make: *** [postProcessWaves2Foam] Error 2
Making dependency list for source file surfaceElevation.C
make[1]: Entering directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
SOURCE=surfaceElevation.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/lagrangian/basic/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fileFormats/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/surfaceElevation.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/meshTools/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/sampling/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/lagrangian/basic/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/fileFormats/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2Foam/lnInclude -I/scratch/pl1g11/OpenFOAM/waves2Foam-master/src/waves2FoamSampling/lnInclude -I/local/software/gsl/1.15/include -IlnInclude -I. -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/surfaceElevation.o -L/scratch/pl1g11/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
             -lfiniteVolume -lmeshTools -lsampling -lsurfMesh -llagrangian -lfileFormats -L/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -L/local/software/gsl/1.15/lib -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/surfaceElevation
/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status
make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/surfaceElevation] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
make: *** [surfaceElevation] Error 2
make: Target `application' not remade because of errors.
Yage is offline   Reply With Quote

Old   December 24, 2015, 04:23
Default
  #14
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Yage,

The missing waves2Foam library suggests that libraries and/or Thirdparty bits were not correctly compiled.

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.
ngj is offline   Reply With Quote

Old   December 24, 2015, 04:23
Default
  #15
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Yage,

The missing waves2Foam library suggests that libraries and/or Thirdparty bits were not correctly compiled.

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.
ngj is offline   Reply With Quote

Old   January 19, 2016, 11:51
Default
  #16
New Member
 
Jorge Gadelho
Join Date: Feb 2013
Posts: 22
Rep Power: 13
JGadelho is on a distinguished road
Quote:
Originally Posted by Yage View Post
and this is for post-processing
[CODE]


/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status

make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/surfaceElevation] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
make: *** [surfaceElevation] Error 2
make: Target `application' not remade because of errors.
/CODE]
I'm having the same issue in a remote computer with OF2.4.0
Any solution?
Thanks.
JGadelho is offline   Reply With Quote

Old   January 19, 2016, 11:51
Default
  #17
New Member
 
Jorge Gadelho
Join Date: Feb 2013
Posts: 22
Rep Power: 13
JGadelho is on a distinguished road
Quote:
Originally Posted by Yage View Post
and this is for post-processing
[CODE]


/usr/bin/ld: cannot find -lwaves2Foam
collect2: ld returned 1 exit status

make[1]: *** [/home/pl1g11/OpenFOAM/pl1g11-2.2.0/platforms/linux64GccDPOpt/bin/surfaceElevation] Error 1
make[1]: Leaving directory `/scratch/pl1g11/OpenFOAM/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
make: *** [surfaceElevation] Error 2
make: Target `application' not remade because of errors.
/CODE]
I'm having the same issue in a remote computer with OF2.4.0
Any solution?
Thanks.
JGadelho is offline   Reply With Quote

Old   January 19, 2016, 13:16
Default
  #18
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good afternoon all,

@Jorge #1143: For some reason your compilation of libwaves2Foam.so failed. This is most likely related to a missing fortran compiler, so the coupling with OceanWave3D is not possible. It is on the TO-DO list to provide a compilation procedure that is successful without a fortran-compiler, but I am not sure, when this will happen.

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 12:49. Reason: removed answers to other posts that were on the main thread
ngj is offline   Reply With Quote

Old   February 15, 2016, 03:02
Default
  #19
Member
 
Lee Jung Hoo
Join Date: Dec 2015
Posts: 37
Rep Power: 10
Jung hoo is on a distinguished road
Quote:
Originally Posted by Yage View Post
HI Niels,

THanks for your reply.

I try to wmake each step (ThirdParty, Library, Solver..) separately and it works!

Regards,
Yage

Hello Yage! I have problem that you went through before.
I got error messages just like you. (such that;

make[1]: *** [Make/linux64GccDPOpt/surfaceElevation.o] Error 1
make[1]: Target `/home/yage/OpenFOAM/yage-2.1.1/platforms/linux64GccDPOpt/bin/surfaceElevation' not remade because of errors.
make[1]: Leaving directory `/home/yage/waves2Foam-master/applications/utilities/postProcessing/surfaceElevation'
make: *** [surfaceElevation] Error 2
make: Target `application' not remade because of errors.

=====================================
COMPILATION DONE
=====================================

)

And I can't understand "tring to wmake each step (Third Party, Library, Solver..)"
Can you explain more specifically?? Thank you!!

I appologize for my pool english in advance..

Last edited by wyldckat; August 25, 2018 at 12:11. Reason: merged posts a few minutes apart
Jung hoo is offline   Reply With Quote

Reply


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
Getting Started with OpenFOAM wyldckat OpenFOAM 26 June 21, 2024 07:54
[OpenFOAM.org] OpenFOAM build on Intel Xeon Phi asaijo OpenFOAM Installation 31 July 26, 2017 11:35
conjugateHeatFoam with OpenFOAM 2.1.1 rou OpenFOAM Programming & Development 4 April 24, 2015 06:23
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 02:48


All times are GMT -4. The time now is 03:17.