intro story D-Flow FM

 

D-Flow Flexible Mesh

D-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:

  • Easier 1D-2D-3D model coupling, intuitive setup of boundary conditions and meteorological forcings (amongst others).
  • More flexible 2D gridding in delta regions, river junctions, harbours, intertidal flats and more.
  • High performance by smart use of multicore architectures, and grid computing clusters.
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! 

 

=======================================================
We have launched a new website (still under construction so expect continuous improvements) and a new forum dedicated to Delft3D Flexible Mesh.

Please follow this link to the new forum: 
/web/delft3dfm/forum

Post your questions, issues, suggestions, difficulties related to our Delft3D Flexible Mesh Suite on the new forum.

=======================================================

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ
Cohesive sediments & muddy systems

 


Message Boards

Error Compiling (datsel) - Delwaq

IS
Iury Tércio Simõe de Sousa, modified 7 Years ago.

Error Compiling (datsel) - Delwaq

Youngling Posts: 5 Join Date: 3/23/13 Recent Posts
I want to install Delwaq on Windows 7 so I did all the steps to compile the source code.
I have a Microsoft Visual Studio 2008 and when it's compiling on release mode "d_hydro_open_source", it's stop at that line:

50>Linking...
50>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
50>Generating code
50>Finished generating code
50>Embedding manifest...
50>Performing Post-Build Event...
50>oss-install...
50>Target directory: ..\bin
50>Source : package/engine datsel
50>"installing datsel . . ."
50>C:\Deltares\src\tools_gpl\datsel\bin\Release\datsel.exe -> C:\Deltares\bin\win32\flow2d3d\bin\datsel.exe
50>1 arquivo(s) copiado(s)
50>Build log was saved at "file://c:\Deltares\src\tools_gpl\datsel\packages\datsel\Release\BuildLog.htm"
50>datsel - 0 error(s), 1 warning(s)

I donno what to do, someones can help me, pleeease? emoticon
MJ
Michel Jeuken, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
The error you are getting is in the flow part of Delft3D. If you are only interested in Delwaq, you can choose to build only Delwaq by going to de waq folder in you solution, use the right mouse button (left if you switched them) and choose to build from there. Then it should build only the Delwaq engine.
IS
Iury Simões, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 5 Join Date: 3/23/13 Recent Posts
Michel Jeuken:
The error you are getting is in the flow part of Delft3D. If you are only interested in Delwaq, you can choose to build only Delwaq by going to de waq folder in you solution, use the right mouse button (left if you switched them) and choose to build from there. Then it should build only the Delwaq engine.



Michel, thks a lot for the help, but is true that I need a flow model linked on Delwaq... so, if the problem is installing the flow part of Delft3D, I can't use the Delwaq.. Do you know how o fix this problem and install the "flow" linked to Delwaq??
Adri Mourits, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Iury,

I don't see an error. Can you post the full content of the output Window? Does the error window contain information?

Regards,

Adri
IS
Iury Simões, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 5 Join Date: 3/23/13 Recent Posts
Adri Mourits:
Hi Iury,

I don't see an error. Can you post the full content of the output Window? Does the error window contain information?

Regards,

Adri



Thks a lot for the help.. This is the end of output window. I let it compiling for a lot of hour and nothings change... its just stopped by this "warning". I donno what to do. When I try to close, it says that is building.
MJ
Michel Jeuken, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hm, I see know that it is not an error, but 'hangs' during compilation. Have you tried breaking off the compilation, and slect to compile not the whole solution at ounce, but on a part as I explained above, and see if that builds. You can do the same for flow. Without a message it is hard to see why it hangs on your compiler environment.
MJ
Michel Jeuken, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hi Lury,

I'm afraid that at the moment of your post we didn't realise that the latest tagged version (2367 at the time) didn't compile on VS2008. I solved the problems with the VS2008 not long after that, but we didn't tag a new version until today, after we ran our testbenches. So if download to the newest tagged version 2399 added today, it should work again on VS2008 as well. It compiles without problems on our VS2008 machine. Sorry for the inconvenience.

best regards,
Michel
MS
Marcos Sanchez, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 3 Join Date: 3/22/13 Recent Posts
Hi Lury and Michel

I have tried to compile the version 2399 with VS2008 and Intel Fortran Compiler 11.0 but, unfortunately, I continue getting errors during the compilation process.
I tried to compile other versions previously (2367, resaerch/2360) and I got errors with all. Can anybody help me?

Regards,
Marcos

Michel Jeuken:
Hi Lury,

I'm afraid that at the moment of your post we didn't realise that the latest tagged version (2367 at the time) didn't compile on VS2008. I solved the problems with the VS2008 not long after that, but we didn't tag a new version until today, after we ran our testbenches. So if download to the newest tagged version 2399 added today, it should work again on VS2008 as well. It compiles without problems on our VS2008 machine. Sorry for the inconvenience.

best regards,
Michel
MJ
Michel Jeuken, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hi Marcos,

Welcome to this forum! Alltought we try our best to make the code as portable as possible, there can always ocure problems due to local settings. Could you post your error messages, maybe the give a clou about what causes your problems. Sometimes it helps to doe a clean check-out on an other location instead of updating to an other revision (don't know if you did that already).

regards,
Michel
MS
Marcos Sanchez, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 3 Join Date: 3/22/13 Recent Posts
Hi Michel,

I have tried to do a clean check-out on an other location and to compile the code again but the results are the same. The errors I got are of the following nature:

67>LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'c:\Code_2399\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib'

(LINK : fatal error LNK1181:it can't open the file 'c:\Code_2399\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib')

67>
67>Build log written to "file://C:\Code_2399\src\third_party_open\openda\tests\test_dll_noise\Debug\BuildLog.htm"
67>test_dll_noise - 1 error(s), 0 warning(s)
66>LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'c:\Code_2399\src\engines_gpl\flow2d3d\bin\Debug\flow2d3d_openda.lib'
66>
66>Build log written to "file://C:\Code_2399\src\third_party_open\openda\tests\test_seq_dlls\Debug\BuildLog.htm"
66>test_seq_dlls - 1 error(s), 0 warning(s)

11>------ Operación Generar iniciada: proyecto: esmfsm (utils_lgpl\esmfsm\esmfsm), configuración: Debug Win32 ------
11>Compiling with Intel(R) Fortran 11.0.061 [IA-32]...
11>fortapi.f90
4>hs.c
3>dio_shm_sync.cpp
9>coredump.cpp
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(53): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION]
11>./include\globals-fsm.i(46): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(49): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
10>version.c
11>./include\globals-fsm.i(68): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(69): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION]
11>./include\globals-fsm.i(46): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(49): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(68): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(90): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(91): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(92): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(120): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION]
11>./include\globals-fsm.i(46): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(49): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(68): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(130): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(134): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(135): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(161): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION]
11>./include\globals-fsm.i(46): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(49): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(68): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(170): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(171): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(197): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION]
11>./include\globals-fsm.i(46): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>./include\globals-fsm.i(49): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
7>client.cpp
11>./include\globals-fsm.i(68): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(212): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION]
11>./include\globals-fsm.i(46): error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE]
11>(710): catastrophic error: Too many errors, exiting
4>oc.c
12>------ Operación Generar iniciada: proyecto: part_utils_f, configuración: Debug Win32 ------
10>Generando código...
11>compilation aborted for C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 (code 1)
10>Compilando...
12>Compiling with Intel(R) Fortran 11.0.061 [IA-32]...
11>
12>part11.f90
11>Build log written to "file://C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\Debug\BuildLog.txt"
11>esmfsm - 31 error(s), 0 warning(s)


61>LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'delwaq2_lib.lib'
61>
61>Build log written to "file://C:\Code_2399\src\engines_gpl\waq\packages\delwaq2\Debug\BuildLog.htm"
61>delwaq2_vs2008 - 1 error(s), 0 warning(s)

I'm sorry but i've the compiler in spanish, i have made some annotations to help you.

Regards,

Marcos
MJ
Michel Jeuken, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hi Marcos,

Hmmm, strange. Oh, I can read a little spanish, especially in the compiler enviroment, because i know a bit what remarks to expect.

The start of the problem is here:
11>C:\Code_2399\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90(53): error #7002: Error in opening the compiled module file. Check INCLUDE paths.

The problem is esmfsm can't find the precision definition from the deltares_common.lib (I guess), and esmfsm is used by most of the other projects, so thats why the other projects fail. Are there any other errors before this point? Is deltares_common.lib produced at all? It should be in:

..\src\utils_lgpl\deltares_common\lib\Debug\static\deltares_common.lib

Michel
MS
Marcos Sanchez, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 3 Join Date: 3/22/13 Recent Posts
Hi Michel,

First of all, thank you for your help.
There are not other errors before you mention. The library was created in the folder you coment, but i don't know if it is produced at all. I attach the file so you can check if it is produced at all or not.

Regards,

Marcos
AM
Ana Mendonca, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 5 Join Date: 3/19/13 Recent Posts
Hi Michel, I've tried to compile the source with VS 2008 (intel fort 12.0) several tags but I have the same error Marcos had. It starts in esmfsm and goes down with the rest! Like Marcos deltares_common is produced correctly, I think...

any suggestions?

Regards
IS
Iury Simões, modified 7 Years ago.

RE: Error Compiling (datsel) - Delwaq

Youngling Posts: 5 Join Date: 3/23/13 Recent Posts
Michel Jeuken:
Hi Lury,

I'm afraid that at the moment of your post we didn't realise that the latest tagged version (2367 at the time) didn't compile on VS2008. I solved the problems with the VS2008 not long after that, but we didn't tag a new version until today, after we ran our testbenches. So if download to the newest tagged version 2399 added today, it should work again on VS2008 as well. It compiles without problems on our VS2008 machine. Sorry for the inconvenience.

best regards,
Michel


I was out of the web for a moment n sry about that. To get this version I have to use what adress?

The adress that I used to get the source code was "https://svn.oss.deltares.nl/repos/delft3d/tags/research/2360"

I'm tired to try install this. Now I found that this is not the only warning. I tried with fortran composer XE 2013, Intel Fortran Compiler 11.0, 11.1.. all with Visual Studio 2008, 2010, but nothing works.

Using Intel(R) Visual Fortran Composer XE 2011, Microsoft Visual Studio 2010, I did it to "d_hydro_open_source_vs2010" and it gives me:

========== Build: 48 succeeded, 13 failed, 17 up-to-date, 0 skipped ==========

The Erros and Warnings: http://db.tt/IG2DcOFH


Thanks a lot for all the help. I have no idea to why I'm not getting compile this..... emoticon emoticon emoticon