Compilation Problem - D-Flow Flexible Mesh - Delft3D
intro story D-Flow FM
D-Flow Flexible MeshD-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:
An overview of the current developments can be found here. The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions!
======================================================= | Sub groups
|
Message Boards
Compilation Problem
Dear All,
I am trying to compile Delft3D with water quality modules using the following download link
https://svn.oss.deltares.nl/repos/delft3d/tags/research/2360
I am running Windows-7 64 bit version and Intel Fortran 11.1.051 version with visual studio 2008. As explained on the website I am just opening the d_hydro_open_source.sln and compiling but I am getting host of errors as follows.
LINK : fatal error LNK1181: cannot open input file 'c:\UFZ\NewDelWaq\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib'
62>
UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(80): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [GRIDS]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(81): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [RD_TOKEN]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(82): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [POINTR_MOD]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(83): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PARTMEM]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(84): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [TIMERS]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(109): error #6457: This derived type name has not been declared. [GRIDPOINTERCOLL]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(176): error #6404: This name does not have a type, and must have an explicit type. [TIMON]
I am wondering if I am missing some basic step here. Any and all help is greatly appreciated.
Best regards,
Sumit
I am trying to compile Delft3D with water quality modules using the following download link
https://svn.oss.deltares.nl/repos/delft3d/tags/research/2360
I am running Windows-7 64 bit version and Intel Fortran 11.1.051 version with visual studio 2008. As explained on the website I am just opening the d_hydro_open_source.sln and compiling but I am getting host of errors as follows.
LINK : fatal error LNK1181: cannot open input file 'c:\UFZ\NewDelWaq\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib'
62>
UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(80): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [GRIDS]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(81): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [RD_TOKEN]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(82): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [POINTR_MOD]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(83): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PARTMEM]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(84): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [TIMERS]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(109): error #6457: This derived type name has not been declared. [GRIDPOINTERCOLL]
16>C:\UFZ\NewDelWaq\src\engines_gpl\waq\packages\waq_io\src\waq_io\dlwq04.f(176): error #6404: This name does not have a type, and must have an explicit type. [TIMON]
I am wondering if I am missing some basic step here. Any and all help is greatly appreciated.
Best regards,
Sumit
Adri Mourits, modified 7 Years ago.
RE: Compilation Problem
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 00
Hi Sumit,
That research version does not work with VisualStudio 2008. But the following version should work with VS2008 (and VS2010):
https://svn.oss.deltares.nl/repos/delft3d/tags/2367
Edited on 4 April 2013:
Sorry, revision 2399 works with VS2008.
This version also passed the FLOW/WAVE/WAQ testbenches.
Regards,
Adri
That research version does not work with VisualStudio 2008. But the following version should work with VS2008 (and VS2010):
https://svn.oss.deltares.nl/repos/delft3d/tags/2367
Edited on 4 April 2013:
Sorry, revision 2399 works with VS2008.
This version also passed the FLOW/WAVE/WAQ testbenches.
Regards,
Adri
Hello Adri,
Thanks a ton for your reply. I donloaded another version from the link that you mentioned but the code still doesn't compile. I am getting errors of following nature.
LINK : fatal error LNK1181: cannot open input file 'c:\UFZ\DelftWaq\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib'
I wonder if I am suppose to compile each module seprately, as of now I am just opening the .sln file and saying rebuild.
Please let me know if you have any further suggestions.
Best regards,
Sumit
Thanks a ton for your reply. I donloaded another version from the link that you mentioned but the code still doesn't compile. I am getting errors of following nature.
LINK : fatal error LNK1181: cannot open input file 'c:\UFZ\DelftWaq\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib'
I wonder if I am suppose to compile each module seprately, as of now I am just opening the .sln file and saying rebuild.
Please let me know if you have any further suggestions.
Best regards,
Sumit
Adri Mourits, modified 7 Years ago.
RE: Compilation Problem
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 00
Hi Sumit,
The compiler is sometimes confused when there is stuff in there produced by a previous build action. Can you try starting clean, with an empty directory, download the source code and compile?
I've heard about problems when doing a "Rebuild" instead of a "Build". "Build" should work fine. Can you try that?
You probably don't need "flow2d3d_openda". "Unloading" this project may avoid problems.
If this does not help: yes, compiling each "engine_gpl" seperately may help.
Regards,
Adri
The compiler is sometimes confused when there is stuff in there produced by a previous build action. Can you try starting clean, with an empty directory, download the source code and compile?
I've heard about problems when doing a "Rebuild" instead of a "Build". "Build" should work fine. Can you try that?
You probably don't need "flow2d3d_openda". "Unloading" this project may avoid problems.
If this does not help: yes, compiling each "engine_gpl" seperately may help.
Regards,
Adri
MJ
Michel Jeuken, modified 2 Years ago.
RE: Compilation Problem (Answer)
Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts 00
<p>Hi, Adri made an edit above, but the nemly tagged revision 2399 works with VS2008. regards</p>