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

[waves2Foam] compiler errors with OpenFOAM 3.0.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2018, 05:49
Default compiler errors with OpenFOAM 3.0.1
  #1
New Member
 
Simon J S
Join Date: May 2018
Location: Edinburgh
Posts: 11
Rep Power: 7
oceanFoam is on a distinguished road
Hi Niels,


waves2Foam seems to be a great tool for ocean hydrodynamics, which is why I decided to work with it for my masters thesis at Heriot-Watt University, Edinburgh. Previous simulations I have run in OpenFoam 5.0, but since waves2Foam does not seem to run on it, I now installed OpenFoam 3.01. When I try to compile the library however, a few errors seem to appear that prevent the installation to run successfully.

These start to appear in the section COMPILE SPARSKIT2

Code:
'thirdpartylibs/LIB_VTK_IO/static/lib_vtk_io.mod' -> '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/lib_vtk_io.mod'
gfortran -O3 -fPIC -ffpe-trap=invalid,zero,overflow -ffree-line-length-none -fstack-protector-all -c src/multigrid/GaussSeidelSpecialPoints.f90 -o /home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/GaussSeidelSpecialPoints.o -I/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build
ls: cannot access '*.mod': No such file or directory
mv: cannot stat '*.mod': No such file or directory
and continue in a similar style in other parts like COMPILE OCEANWAVE.


In POST PROCESSING I eventually get the following error
Code:
make[1]: Entering directory '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/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
I am running on an Ubuntu 16.04 machine and would say that I am overall rather a beginner in OpenFoam with only a few month of experience with several tutorial cases etc. Any help in this matter is greatly appreciatet. Thanks a lot.


Cheers,
Simon


Edit: After running the compiler for a second time I think the main problem arising from the errors, is that the solvers are not installed/compiled. I attached the second log file as well. This is the content of the folder $HOME/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/applications/solvers
Code:
.                 solvers170        solvers220  solvers240       solvers310_EXT
..                solvers1712_PLUS  solvers221  solvers300       solvers320_EXT
solvers160        solvers210        solvers222  solvers300_EXT   solvers400
solvers1606_PLUS  solvers211        solvers230  solvers300_PLUS  solvers400_EXT
Attached Files
File Type: txt make.txt (143.3 KB, 5 views)
File Type: txt make2.txt (6.8 KB, 5 views)

Last edited by oceanFoam; June 18, 2018 at 07:27.
oceanFoam is offline   Reply With Quote

Old   June 19, 2018, 03:07
Default
  #2
New Member
 
Maoyanjun
Join Date: Jan 2016
Posts: 20
Rep Power: 10
Maoyanjun is on a distinguished road
Quote:
Originally Posted by oceanFoam View Post
Hi Niels,


waves2Foam seems to be a great tool for ocean hydrodynamics, which is why I decided to work with it for my masters thesis at Heriot-Watt University, Edinburgh. Previous simulations I have run in OpenFoam 5.0, but since waves2Foam does not seem to run on it, I now installed OpenFoam 3.01. When I try to compile the library however, a few errors seem to appear that prevent the installation to run successfully.

These start to appear in the section COMPILE SPARSKIT2

Code:
'thirdpartylibs/LIB_VTK_IO/static/lib_vtk_io.mod' -> '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/lib_vtk_io.mod'
gfortran -O3 -fPIC -ffpe-trap=invalid,zero,overflow -ffree-line-length-none -fstack-protector-all -c src/multigrid/GaussSeidelSpecialPoints.f90 -o /home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/GaussSeidelSpecialPoints.o -I/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build
ls: cannot access '*.mod': No such file or directory
mv: cannot stat '*.mod': No such file or directory
and continue in a similar style in other parts like COMPILE OCEANWAVE.


In POST PROCESSING I eventually get the following error
Code:
make[1]: Entering directory '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/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
I am running on an Ubuntu 16.04 machine and would say that I am overall rather a beginner in OpenFoam with only a few month of experience with several tutorial cases etc. Any help in this matter is greatly appreciatet. Thanks a lot.


Cheers,
Simon


Edit: After running the compiler for a second time I think the main problem arising from the errors, is that the solvers are not installed/compiled. I attached the second log file as well. This is the content of the folder $HOME/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/applications/solvers
Code:
.                 solvers170        solvers220  solvers240       solvers310_EXT
..                solvers1712_PLUS  solvers221  solvers300       solvers320_EXT
solvers160        solvers210        solvers222  solvers300_EXT   solvers400
solvers1606_PLUS  solvers211        solvers230  solvers300_PLUS  solvers400_EXT
you can copy the sovler300 and rename it as sovler301, and be sure to source the waves2foam env

You can see the details from my Blog in Chinese: wish you could understand Chinese
http://maoyanjun.top/2018/01/10/wave...D%BF%E7%94%A8/
Maoyanjun is offline   Reply With Quote

Old   June 19, 2018, 07:19
Default
  #3
New Member
 
Simon J S
Join Date: May 2018
Location: Edinburgh
Posts: 11
Rep Power: 7
oceanFoam is on a distinguished road
Quote:
Originally Posted by Maoyanjun View Post
you can copy the sovler300 and rename it as sovler301, and be sure to source the waves2foam env

You can see the details from my Blog in Chinese: wish you could understand Chinese
http://maoyanjun.top/2018/01/10/wave...D%BF%E7%94%A8/
Hi Maoyanjun,

thanks a lot for your reply. unfortunately I don't read Chinese. However am I right that in your blog you are doing the same thing with the solver1706 file?

I tried to compile again with the new folder and am still getting an error when trying to run the waveFlume tutorial case saying that /bin/preProssecing is not executable. Since I cant find that file neither in /bin nor in the /OpenFoam/OpenFoam-3-0-1/bin directory I am afraid that the issues with my installation go a bit further.

But thank you so far already!

Cheers,
Simon
oceanFoam is offline   Reply With Quote

Old   December 12, 2018, 05:30
Default
  #4
New Member
 
Kazakis Ioannis
Join Date: Sep 2016
Location: Thessaloniki, Greece
Posts: 24
Rep Power: 9
Giannis_Kaz is on a distinguished road
Dear Simon


Did you have a solution for your problem? I have the same issue with OF4.1.


Greetings

John
Giannis_Kaz is offline   Reply With Quote

Old   December 12, 2018, 05:33
Default
  #5
New Member
 
Kazakis Ioannis
Join Date: Sep 2016
Location: Thessaloniki, Greece
Posts: 24
Rep Power: 9
Giannis_Kaz is on a distinguished road
Quote:
Originally Posted by oceanFoam View Post
Hi Niels,


waves2Foam seems to be a great tool for ocean hydrodynamics, which is why I decided to work with it for my masters thesis at Heriot-Watt University, Edinburgh. Previous simulations I have run in OpenFoam 5.0, but since waves2Foam does not seem to run on it, I now installed OpenFoam 3.01. When I try to compile the library however, a few errors seem to appear that prevent the installation to run successfully.

These start to appear in the section COMPILE SPARSKIT2

Code:
'thirdpartylibs/LIB_VTK_IO/static/lib_vtk_io.mod' -> '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/lib_vtk_io.mod'
gfortran -O3 -fPIC -ffpe-trap=invalid,zero,overflow -ffree-line-length-none -fstack-protector-all -c src/multigrid/GaussSeidelSpecialPoints.f90 -o /home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/GaussSeidelSpecialPoints.o -I/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build
ls: cannot access '*.mod': No such file or directory
mv: cannot stat '*.mod': No such file or directory
and continue in a similar style in other parts like COMPILE OCEANWAVE.


In POST PROCESSING I eventually get the following error
Code:
make[1]: Entering directory '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/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
I am running on an Ubuntu 16.04 machine and would say that I am overall rather a beginner in OpenFoam with only a few month of experience with several tutorial cases etc. Any help in this matter is greatly appreciatet. Thanks a lot.


Cheers,
Simon


Edit: After running the compiler for a second time I think the main problem arising from the errors, is that the solvers are not installed/compiled. I attached the second log file as well. This is the content of the folder $HOME/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/applications/solvers
Code:
.                 solvers170        solvers220  solvers240       solvers310_EXT
..                solvers1712_PLUS  solvers221  solvers300       solvers320_EXT
solvers160        solvers210        solvers222  solvers300_EXT   solvers400
solvers1606_PLUS  solvers211        solvers230  solvers300_PLUS  solvers400_EXT

Dear Simon


Did you have a solution for your problem? I have the same issue with OF4.1.


Greetings

John
Giannis_Kaz is offline   Reply With Quote

Old   January 31, 2020, 06:33
Default
  #6
New Member
 
Conor Owen
Join Date: Jan 2020
Posts: 2
Rep Power: 0
Cjyowen1 is on a distinguished road
Quote:
Originally Posted by oceanFoam View Post
Hi Niels,


waves2Foam seems to be a great tool for ocean hydrodynamics, which is why I decided to work with it for my masters thesis at Heriot-Watt University, Edinburgh. Previous simulations I have run in OpenFoam 5.0, but since waves2Foam does not seem to run on it, I now installed OpenFoam 3.01. When I try to compile the library however, a few errors seem to appear that prevent the installation to run successfully.

These start to appear in the section COMPILE SPARSKIT2

Code:
'thirdpartylibs/LIB_VTK_IO/static/lib_vtk_io.mod' -> '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/lib_vtk_io.mod'
gfortran -O3 -fPIC -ffpe-trap=invalid,zero,overflow -ffree-line-length-none -fstack-protector-all -c src/multigrid/GaussSeidelSpecialPoints.f90 -o /home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/GaussSeidelSpecialPoints.o -I/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build
ls: cannot access '*.mod': No such file or directory
mv: cannot stat '*.mod': No such file or directory
and continue in a similar style in other parts like COMPILE OCEANWAVE.


In POST PROCESSING I eventually get the following error
Code:
make[1]: Entering directory '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/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
I am running on an Ubuntu 16.04 machine and would say that I am overall rather a beginner in OpenFoam with only a few month of experience with several tutorial cases etc. Any help in this matter is greatly appreciatet. Thanks a lot.


Cheers,
Simon


Edit: After running the compiler for a second time I think the main problem arising from the errors, is that the solvers are not installed/compiled. I attached the second log file as well. This is the content of the folder $HOME/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/applications/solvers
Code:
.                 solvers170        solvers220  solvers240       solvers310_EXT
..                solvers1712_PLUS  solvers221  solvers300       solvers320_EXT
solvers160        solvers210        solvers222  solvers300_EXT   solvers400
solvers1606_PLUS  solvers211        solvers230  solvers300_PLUS  solvers400_EXT



What solution was found for this problem, very new to waves2Foam and running into the exact same problem.
Cjyowen1 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 21:48.