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

compiling problem

AG
Alireza Gh, modified 5 Years ago.

compiling problem

Youngling Posts: 7 Join Date: 3/2/13 Recent Posts
Hello,
I have problem with compiling tag version 3008 and 3058 (and probably other versions) {while i had done it correctly about 4 months ago}
i use VS2008 and IVFC2011
I Open 'd_hydro_open_source.sln' and build (<Ctrl><Shift>emoticon in Release mode
the problem is that it doesn't compile the whole codes. each time i do so, only 'wave' and 'swan' (sometimes 'wave' , 'swan' and 'waq') folders are built in \bin\win32\
so what's the problem and how can i compile it completely?
Qinghua Ye, modified 5 Years ago.

RE: compiling problem

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Alireza,

A bit strange that you got errors if you compiled successfully before.

What did the error log say? Can you paste the error message here.

Regards

Qinghua
AG
Alireza Gh, modified 5 Years ago.

RE: compiling problem

Youngling Posts: 7 Join Date: 3/2/13 Recent Posts
Hi Qinghua,
thanks for your response

actually there is no error or failed message.!!
it seems just some parts of the codes are compiled.
here is the output log when i tried to compile it:

*********************************************************************

1>------ Build started: Project: wave (engines_gpl\wave\wave), Configuration: Release Win32 ------
1>Performing Pre-Build Event...
1>Generating version number in '.\src\wave_version.F90' ...
1>..\..\..\..\scripts_lgpl\win32\update_version.cmd: 3554
1>..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\src\wave_version.F90'.
1>Compiling with Intel(R) Visual Fortran 11.1.060 [IA-32]...
1>wave_version.F90
1>Linking...
1>Generating code
1>Finished generating code
1>Embedding manifest...
1>Performing Post-Build Event...
1>oss-install...
1>Target directory: ..\bin
1>Source : package/engine wave
1>"installing wave . . ."
1>D:\d3d\src\engines_gpl\wave\bin\release\wave.exe -> D:\d3d\bin\win32\wave\bin\wave.exe
1>1 File(s) copied
1>D:\d3d\src\engines_gpl\flow2d3d\default\dioconfig.ini -> D:\d3d\bin\win32\wave\default\dioconfig.ini
1>1 File(s) copied
1>D:\d3d\src\third_party_open\intel_fortran\lib\win32\libifcoremd.dll -> D:\d3d\bin\win32\wave\bin\libifcoremd.dll
1>D:\d3d\src\third_party_open\intel_fortran\lib\win32\libifportmd.dll -> D:\d3d\bin\win32\wave\bin\libifportmd.dll
1>D:\d3d\src\third_party_open\intel_fortran\lib\win32\libmmd.dll -> D:\d3d\bin\win32\wave\bin\libmmd.dll
1>3 File(s) copied
1>D:\d3d\src\third_party_open\swan\bin\win32\libifcoremd.dll -> D:\d3d\bin\win32\swan\bin\libifcoremd.dll
1>D:\d3d\src\third_party_open\swan\bin\win32\libifportmd.dll -> D:\d3d\bin\win32\swan\bin\libifportmd.dll
1>D:\d3d\src\third_party_open\swan\bin\win32\libiomp5md.dll -> D:\d3d\bin\win32\swan\bin\libiomp5md.dll
1>D:\d3d\src\third_party_open\swan\bin\win32\libmmd.dll -> D:\d3d\bin\win32\swan\bin\libmmd.dll
1>D:\d3d\src\third_party_open\swan\bin\win32\swan_4072ABCDE_del_w32_i11_omp.exe -> D:\d3d\bin\win32\swan\bin\swan_4072ABCDE_del_w32_i11_omp.exe
1>5 File(s) copied
1>Does D:\d3d\bin\win32\swan\scripts\swan.bat specify a file name
1>or directory name on the target
1>(F = file, D = directory)? f
1>D:\d3d\src\third_party_open\swan\scripts\swan_install.bat -> D:\d3d\bin\win32\swan\scripts\swan.bat
1>1 File(s) copied
1>
1>Build log written to "file://D:\d3d\src\engines_gpl\wave\packages\wave\Release\BuildLog.htm"
1>wave - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 72 up-to-date, 0 skipped ==========

*********************************************************************

now ,"swan" and "wave" folders are built in \\bin\win32\
and it is more than 'a bit strange' that yesterday i followed the same procedure and "swan","wave","waq" and "flow2d3d" folders were built !!!
Qinghua Ye, modified 5 Years ago.

RE: compiling problem (Answer)

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Alireza,

Maybe it is because some old intermediate files are still there when you do a new compilation. You might have to clean the folders before your new compiling or just check out from the svn again.

Regards,

Qinghua
AG
Alireza Gh, modified 5 Years ago.

RE: compiling problem

Youngling Posts: 7 Join Date: 3/2/13 Recent Posts
well, i delete previous built folders each time before compiling but still it doesn't work..!!

thank you Qinghua
Qinghua Ye, modified 5 Years ago.

RE: compiling problem

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
dear Alireza,

It may by not enough by only deleting the bin file. I would suggest to try to make an empty directory and to check out the code again, then try to compile again?

Regards,

Qinghua
AG
Alireza Gh, modified 5 Years ago.

RE: compiling problem

Youngling Posts: 7 Join Date: 3/2/13 Recent Posts
thank you Qinghua
i fixed it..
now when i compile the codes i see these errors..
would you help me plz


Error 154 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 53
Error 156 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 158 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 160 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 162 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 69
Error 164 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 166 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 168 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 170 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 90
Error 172 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 91
Error 174 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 92
Error 176 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 120
Error 177 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 179 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 181 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 182 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 130
Error 184 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 134
Error 186 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 135
Error 188 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 161
Error 190 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 192 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 194 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 197 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 170
Error 199 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 171
Error 202 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 197
Error 203 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 204 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 205 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 206 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECISION] D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 212
Error 207 error #6683: A kind type parameter must be a compile-time constant. [PNTRSIZE] ./include\globals-fsm.i
Error 208 Compilation Aborted (code 1) D:\d3d\src\utils_lgpl\esmfsm\packages\esmfsm\src\fsm\fortapi.f90 1
Error 780 error #11018: Cannot open D:\d3d\src\utils_lgpl\esmfsm\lib\Release\static\esmfsm.lib ipo
Error 781 fatal error LNK1181: cannot open input file 'D:\d3d\src\utils_lgpl\esmfsm\lib\Release\static\esmfsm.lib' LINK
Error 782 error #11018: Cannot open D:\d3d\src\utils_lgpl\esmfsm\lib\Release\static\esmfsm.lib ipo
Error 783 fatal error LNK1181: cannot open input file 'D:\d3d\src\utils_lgpl\esmfsm\lib\Release\static\esmfsm.lib' LINK
Error 808 error #11018: Cannot open esmfsm.lib ipo
Error 809 error #11018: Cannot open D:\d3d\src\utils_lgpl\esmfsm\lib\Release\static\esmfsm.lib ipo
Error 810 fatal error LNK1181: cannot open input file 'esmfsm.lib' LINK
Error 811 error #11018: Cannot open delwaq2_lib.lib ipo
Error 812 error #11018: Cannot open D:\d3d\src\engines_gpl\waq\bin\Release\delwaq2_lib.lib ipo
Error 813 fatal error LNK1181: cannot open input file 'delwaq2_lib.lib
Error 911 fatal error LNK1181: cannot open input file '..\..\..\..\utils_lgpl\esmfsm\lib\release\static\esmfsm.lib' flow2d3d flow2d3d (engines_gpl\flow2d3d\flow2d3d)
Error 998 fatal error LNK1181: cannot open input file '..\..\..\..\utils_lgpl\esmfsm\lib\release\static\esmfsm.lib' flow2d3d_openda flow2d3d_openda
Error 999 error #11018: Cannot open d:\d3d\src\engines_gpl\flow2d3d\bin\Release\flow2d3d_openda.lib ipo
Error 1000 fatal error LNK1181: cannot open input file 'd:\d3d\src\engines_gpl\flow2d3d\bin\Release\flow2d3d_openda.lib' LINK
Error 1001 error #11018: Cannot open d:\d3d\src\engines_gpl\flow2d3d\bin\Release\flow2d3d_openda.lib ipo
Error 1002 fatal error LNK1181: cannot open input file 'd:\d3d\src\engines_gpl\flow2d3d\bin\Release\flow2d3d_openda.lib' LINK
AG
Alireza Gh, modified 5 Years ago.

RE: compiling problem (Answer)

Youngling Posts: 7 Join Date: 3/2/13 Recent Posts
well..
i solved the problem by upgrading VS2008 to VS2010 (version: Ultimate 10.0.30319.1)and VFC11 to VF Composer XE 2013 (2013.0.089)
again i got errors like : error LNK1123: failure during conversion to COFF ...
this problem solved by uninstalling .NET Framework 4.5 and reinstalling .NET framework 4

emoticon