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 tag 3426

NF
Nicola Fontana, modified 6 Years ago.

Error compiling tag 3426

Youngling Posts: 4 Join Date: 12/28/12 Recent Posts
I'm trying to compile the new tag 3426, but I get the following errors if I use x64 compiler option

80>data.lib(gdp_dealloc.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_CLRSEDTRA
80>data.lib(gdp_dealloc.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_CLRSEDPAR
80>data.lib(gdp_dealloc.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_CLRMORPAR
80>data.lib(gdp_dealloc.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_CLRTRAPAR
80>data.lib(initsafe.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_INITSEDTRA
80>data.lib(initsafe.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_INITMORPAR
80>data.lib(initsafe.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_INITSEDPAR
80>data.lib(initsafe.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_INITTRAPAR
80>kernel.lib(inised.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_ALLOCSEDTRA
80>morphology_io.lib(rdsed.obj) : error LNK2001: unresolved external symbol SEDIMENT_BASICS_MODULE_mp_ILOGNORMAL
80>morphology_kernel.lib(compdiam.obj) : error LNK2001: unresolved external symbol SEDIMENT_BASICS_MODULE_mp_ILOGNORMAL
80>morphology_io.lib(rdsed.obj) : error LNK2001: unresolved external symbol SEDIMENT_BASICS_MODULE_mp_LOGNORMAL
80>morphology_kernel.lib(compdiam.obj) : error LNK2001: unresolved external symbol SEDIMENT_BASICS_MODULE_mp_LOGNORMAL
80>morphology_io.lib(rdmor.obj) : error LNK2001: unresolved external symbol MORPHOLOGY_DATA_MODULE_mp_ALLOCFLUFFY

On the other hand, if I use win32 option, I get the following error
fatal error C1083: Cannot open include file: 'mpi.h': No such file or directory

My configuration is VS 2010 SP1 + Intel XEComposer 2013
Can you help me?
Regards
Nicola
Adri Mourits, modified 6 Years ago.

RE: Error compiling tag 3426

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Nicola,

The x64 errors sound like a bug in the related VisualStudio project files. I will look into that.

The win32 error should be solved when using the trunk version, revision 3518 (we are testing that version now). The problem was related to "d_hydro_open_source_vs2010_intel13.sln" (the one you are using).

Regards,

Adri
NF
Nicola Fontana, modified 6 Years ago.

RE: Error compiling tag 3426

Youngling Posts: 4 Join Date: 12/28/12 Recent Posts
Adri,
thank you very much for you answer. I'll try the revision 3518 in the next days. Let me know if I can help you for the x64 version.
Kind regards
Nicola
JB
Jorge Balvoa, modified 4 Years ago.

RE: Error compiling tag 3426

Youngling Posts: 2 Join Date: 6/13/16 Recent Posts
Hi Adri

I'm Jorge Balvoa from Chile, i have the same problem!

But i try compilate the last Trunk...

My configuration is VS 2015 SP1 + Intel XE Composer 2016

Can you help me?


Generating version number in '.\include\nefis_version.h' ...
..\..\..\..\scripts_lgpl\win32\update_version.cmd: 000000
..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.h'.
Generating version number in '.\include\nefis_version.rc' ...
..\..\..\..\scripts_lgpl\win32\update_version.cmd: 000000
..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.rc'.
c2c.c
src\c2c.c(976): warning C4018: '<' : no coinciden signed/unsigned
src\c2c.c(1037): warning C4018: '<' : no coinciden signed/unsigned
src\c2c.c(1098): warning C4018: '<' : no coinciden signed/unsigned
df.c
er.c
f2c.c
gp.c
gt.c
hs.c
src\hs.c(352): warning C4244: '=' : conversión de 'BUInt8' a 'BInt4'; posible pérdida de datos
oc.c
pt.c
src\pt.c(430): warning C4244: 'función' : conversión de 'BUInt8' a 'size_t'; posible pérdida de datos
src\pt.c(433): warning C4244: '=' : conversión de 'BUInt8' a 'BUInt4'; posible pérdida de datos
src\pt.c(438): warning C4244: 'función' : conversión de 'BUInt8' a 'size_t'; posible pérdida de datos
rt.c
wl-xdr.c
nefis_version.cpp
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(D:\trunks\src\utils_lgpl\nefis\packages\nefis\../../lib/Release/dynamic\nefis_dll.dll) does not match the Linker's OutputFile property value (D:\trunks\src\utils_lgpl\nefis\lib\Release\dynamic\nefis.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(nefis_dll) does not match the Linker's OutputFile property value (nefis). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
Creando biblioteca ../../lib/Release/dynamic\nefis_dll.lib y objeto ../../lib/Release/dynamic\nefis_dll.exp
Generando código
Generación de código finalizada
LINK : fatal error LNK1123: error durante la conversión a COFF: archivo no válido o dañado
-------
Compiling with Intel(R) Visual Fortran Compiler 16.0 [IA-32]...
getidentification.f
block.f
delwaq1.f
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17336
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
delwaq1_version_number.lib(f2c.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
Creating library ../../bin/Release/delwaq1_lib.lib and object ../../bin/Release/delwaq1_lib.exp
nefis.lib(f2c.obj) : error LNK2001: unresolved external symbol __imp__sprintf
nefis.lib(oc.obj) : error LNK2001: unresolved external symbol __imp__printf
nefis.lib(er.obj) : error LNK2001: unresolved external symbol __imp____iob_func
nefis.lib(er.obj) : error LNK2001: unresolved external symbol __imp__fprintf
../../bin/Release/\delwaq1_lib.dll : fatal error LNK1120: 4 unresolved externals
------
Compiling with Intel(R) Visual Fortran Compiler 16.0 [IA-32]...
getidentification.f
d_tr_d3d.f
block.f
waq_omi_substances.f90
delwaq2_global_data.f90
waq_omi_lib.f90
waq_omi_api.f90
waq_mt3d_api.f90
dlwqmain.f
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17336
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
nefis.lib(f2c.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
Creating library D:\trunks\src\engines_gpl\waq\bin\Release\delwaq2_lib.lib and object D:\trunks\src\engines_gpl\waq\bin\Release\delwaq2_lib.exp
nefis.lib(f2c.obj) : error LNK2001: unresolved external symbol __imp__sprintf
nefis.lib(oc.obj) : error LNK2001: unresolved external symbol __imp__printf
nefis.lib(er.obj) : error LNK2001: unresolved external symbol __imp____iob_func
nefis.lib(er.obj) : error LNK2001: unresolved external symbol __imp__fprintf
delftio.lib(dio_shm.obj) : error LNK2001: unresolved external symbol __imp__vfprintf
../../bin/Release/\delwaq2_lib.dll : fatal error LNK1120: 5 unresolved externals
Project : warning PRJ0018 : The following environment variables were not found:
$(IFORT_COMPILER13)
------
mapper_statemachine.cpp
d:\trunks\src\utils_lgpl\d_hydro_lib\include\component.h(84): warning C4002: hay demasiados parámetros reales para la macro 'GetCurrentTime'
D:\trunks\src\utils_lgpl\d_hydro_lib\include\d_hydro.h(163): warning C4002: hay demasiados parámetros reales para la macro 'GetCurrentTime'
mapper_uvz.cpp
d:\trunks\src\utils_lgpl\d_hydro_lib\include\component.h(84): warning C4002: hay demasiados parámetros reales para la macro 'GetCurrentTime'
D:\trunks\src\utils_lgpl\d_hydro_lib\include\d_hydro.h(163): warning C4002: hay demasiados parámetros reales para la macro 'GetCurrentTime'
varinfocoll.cpp
d:\trunks\src\utils_lgpl\d_hydro_lib\include\component.h(84): warning C4002: hay demasiados parámetros reales para la macro 'GetCurrentTime'
D:\trunks\src\utils_lgpl\d_hydro_lib\include\d_hydro.h(163): warning C4002: hay demasiados parámetros reales para la macro 'GetCurrentTime'
LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'libifcoremt.lib'
Adri Mourits, modified 4 Years ago.

RE: Error compiling tag 3426

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Jorge,

Can you try with the latest tagged version, currently https://svn.oss.deltares.nl/repos/delft3d/tags/6118/

For VS2015, check this post.

Does that help?

Regards,

Adri