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 Delft3D Tag 3574 on Win8.1 with VS 2010 and IFORT compiler 14

NV
Niels van den Berg, modified 6 Years ago.

Compiling Delft3D Tag 3574 on Win8.1 with VS 2010 and IFORT compiler 14

Youngling Posts: 3 Join Date: 2/28/13 Recent Posts
Hi all,

I am trying to compile Delft3D Tag 3574 (release win32) on a computer with Windows 8.1, Visual Studio 2010 and Intel Visual Fortran Composer XE 2013 SP1 (compiler 14.0.3.202).

After solving some initial problems I still get more than a 10.000 errors related to syntax and identifier errors in the file driverspecs.h. These errors occur when the library files of the various projects are build. As a consequence some ''.lib'' files can not be found and the compilation is unsuccessful (''LINK : fatal error LNK1181: cannot open input file''). Unfortunately it seems I can not attach a text file with the build output on the forum. I will paste some parts of the text below.
Can someone help me to discover the cause of these errors?

I took the following steps to solve the initial problems:

1) Change ''IFORT_Compiler13'' into ''IFORT_Compiler14'' in the linker property for all the projects containing ''intel13'' in the name.

2) In the property ''VC++ Directories'' the environmental setting ''WindowsSdkDir'' was not referring to the correct path. It was still referring to an old path (C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A). I changed this for the executable, include, library and exclude directories into C:\Program Files (x86)\Windows Kits\8.1. For more information see: http://blogs.msdn.com/b/vcblog/archive/2012/11/23/using-the-windows-8-sdk-with-visual-studio-2010-configuring-multiple-projects.aspx

The executable directories also refers to the NETFX path. I tried the original setting (C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools) and also the new one for SDK 8.1 (C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools). Both seem to work.

Thanks,
Niels


1>------ Build started: Project: deltares_common_c, Configuration: Release Win32 ------
2>------ Build started: Project: delftio_shm, Configuration: Release Win32 ------
3>------ Build started: Project: morphology_plugins_c, Configuration: Release Win32 ------
4>------ Build started: Project: waq_data, Configuration: Release Win32 ------
5>------ Build started: Project: waq_utils_c, Configuration: Release Win32 ------
4>Compiling with Intel(R) Visual Fortran Compiler XE 14.0.3.202 [IA-32]...
4>data_vtrans.F90
1> cpuinfo.cpp
6>------ Build started: Project: esmfsm_version_number, Configuration: Release Win32 ------
7>------ Build started: Project: nefis_dll, Configuration: Release Win32 ------
5> f902c.cpp
8>------ Build started: Project: delwaq1_version_number, Configuration: Release Win32 ------
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(353): error C2065: '__In_impl_' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(353): error C2144: syntax error : 'char' should be preceded by ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(353): error C3861: 'SAL_acquire': identifier not found
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(353): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(363): error C2065: '__In_impl_' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(363): error C2144: syntax error : 'char' should be preceded by ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(363): error C3861: 'SAL_release': identifier not found
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(363): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(372): error C2065: '__In_impl_' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(372): error C2144: syntax error : 'char' should be preceded by ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(372): error C3861: 'SAL_acquireGlobal': identifier not found
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(372): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(381): error C2065: '__In_impl_' : undeclared identifier
.
.
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(751): error C2065: '__In_impl_' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(751): error C2146: syntax error : missing ')' before identifier '__AuToQuOtE'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(751): error C3861: 'SAL_callbackType': identifier not found
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(751): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(859): error C2061: syntax error : identifier '_Is_kernel_'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(859): error C2143: syntax error : missing ')' before ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(859): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(859): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(859): fatal error C1003: error count exceeds 100; stopping compilation
.
.
.
28>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(859): fatal error C1003: error count exceeds 100; stopping compilation
22>hunt.f90
23> Creating library bin/Release/plugin_culvert.lib and object bin/Release/plugin_culvert.exp
29>------ Rebuild All started: Project: lint_intel13, Configuration: Release Win32 ------
29> main.cpp
29>LINK : fatal error LNK1181: cannot open input file 'C:\Delft3D\src\tools_gpl\lint\packages\lint_version_number\bin\Release\lint_version_number.lib'
30>------ Rebuild All started: Project: system_info, Configuration: Release Win32 ------
30> main.cpp
30>C:\Program Files (x86)\Windows Kits\8.1\include\shared\driverspecs.h(353): error C2065: '__In_impl_' : undeclared identifier
.
.
.
========== Build: 37 succeeded, 49 failed, 0 up-to-date, 0 skipped ==========
NV
Niels van den Berg, modified 6 Years ago.

RE: Compiling Delft3D Tag 3574 on Win8.1 with VS 2010 and IFORT compiler 14

Youngling Posts: 3 Join Date: 2/28/13 Recent Posts
I solved the problem with the syntax and identifier errors in the file driverspecs.h

In step 2 you have to make sure that for the ''VC++ Directories, include directories'' the directories ''C:\Program Files (x86)\Windows Kits\8.1\include\um'' and ''C:\Program Files (x86)\Windows Kits\8.1\include\shared'' are placed before the Visual Studio directories (VCInstallDir).

Unfortunately now I'm getting syntax errors in the files winnt.h and interlockedapi.h. They refer to the correct directory of the SDK8.1. Looking into this now.
Does anyone have a suggestion?

Cheers,
Niels
NV
Niels van den Berg, modified 6 Years ago.

RE: Compiling Delft3D Tag 3574 on Win8.1 with VS 2010 and IFORT compiler 14

Youngling Posts: 3 Join Date: 2/28/13 Recent Posts
Still no luck with solving the problem with winnt.h and interlockedapi.h. The problem occurs when building the project nefis.
Below I copied the first part of the build output for this project.
Does anyone have an idea?

Cheers,
Niels

1>------ Build started: Project: nefis (utils_lgpl\nefis\nefis), Configuration: Release Win32 ------
1> Generating version number in '.\include\nefis_version.h' ...
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 3993M
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.h'.
1> Generating version number in '.\include\nefis_version.rc' ...
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 3993M
1> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\nefis_version.rc'.
1> c2c.c
1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(112): warning C4391: 'size_t strlen(const char *)' : incorrect return type for intrinsic function, expected 'unsigned int'
1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(285): warning C4391: 'size_t wcslen(const wchar_t *)' : incorrect return type for intrinsic function, expected 'unsigned int'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17544): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17544): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17544): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17545): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17552): error C2143: syntax error : missing ')' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17552): error C2143: syntax error : missing '{' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17553): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17559): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17559): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17559): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17560): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17566): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17566): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17566): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17566): error C2059: syntax error : ','
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17568): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17574): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17574): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17574): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17574): error C2059: syntax error : ','
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17578): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17584): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17584): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17584): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17585): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17591): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17591): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17591): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17592): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(51): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(51): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(51): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(52): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(59): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(59): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(59): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(60): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(67): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(67): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(67): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(67): error C2059: syntax error : ','
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(69): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(81): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(81): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(81): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(81): error C2059: syntax error : ','
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(85): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(94): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(94): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(94): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(95): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(102): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(102): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(102): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(103): error C2059: syntax error : ')'
1> df.c
1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(112): warning C4391: 'size_t strlen(const char *)' : incorrect return type for intrinsic function, expected 'unsigned int'
1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(285): warning C4391: 'size_t wcslen(const wchar_t *)' : incorrect return type for intrinsic function, expected 'unsigned int'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17544): error C2146: syntax error : missing ')' before identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17544): error C2061: syntax error : identifier 'ListHead'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17544): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17545): error C2059: syntax error : ')'

etc.
VK
Venkat Kolluru, modified 5 Years ago.

RE: Compiling Delft3D Tag 3574 on Win8.1 with VS 2010 and IFORT compiler 14

Youngling Posts: 7 Join Date: 1/6/13 Recent Posts
Hi,
Did anybody fix Niels problem?

I am having the same problem as Niels when compiling with VS 2013 and IFORT 2013.


Thanks
Venkat