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

Problems compiling Delft3D on windows

CM
constanzo marullo, modified 6 Years ago.

Problems compiling Delft3D on windows

Youngling Posts: 10 Join Date: 1/21/13 Recent Posts
Hello everyone, this is my first post on the website. I want to use Delft3D-FLOW for academic reasons.
I'm trying to compile Delft3D on Windows 7 (64bits), using Microsoft Visual Studio 2010 Ultimate and Intel Visual Fortran Composer XE 2013.0.089.
I started to compile as the webinar describes (opened *intel13 file). Used "release" on my configuration too.

However, I'm getting 10 errores, 575warnings and 843 messages once the process is finished.
The error is the same all the times, it says "LNK1123" and according to this website, there could be problems with some specific files. I tried downloading the files again, and I've used Delft3D 5.01.00.2163 and the previous one and it didn't work for both. I've searched through visual forums and haven't been able to find a solution yet.
I could run neither d_hydro.exe nor the examples. It shows a message stating that pthreadVCE2.dll was missing.

A description for it when compiling is (same sentence is repeated for every error):

34>LINK : fatal error LNK1123: error durante la conversión a COFF: archivo no válido o dañado
(In English, error while converting to COFF: invalid or damaged file).

I would like to know if you could help me with any suggestions. Is there any basics steps I'm missing?
I've attached 1 screenshot when the process is done, a screenshot when trying to run the example and a txt file with the messages.

Thank you for your time.
I apologize if I misspell any sentence,
Constanzo
Adri Mourits, modified 6 Years ago.

RE: Problems compiling Delft3D on windows

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

64bits Windows version is not yet supported. 32bit Windows and 64bit Linux are.
We are currently working on 64bit Windows. If you really want to have a go with that, you better use the trunk version. But you still may run into problems.

There are some scripts being uses having problems with path names containing spaces. It's safer to rename "Delft3D 5.01.00.2163" into "Delft3D_5.01.00.2163".

Regards,

Adri
CM
constanzo marullo, modified 6 Years ago.

RE: Problems compiling Delft3D on windows

Youngling Posts: 10 Join Date: 1/21/13 Recent Posts
Hi Adri, thank you for your answer.

I must say that I think I compiled the source code under release mode using my computer (windows 64-bit).
After several failed attempts, what I did to solve the error described above was downgrading .NET framework from 4.5 to 4.0. I also erased the empty spaces on directory names as you suggested. I got neither errors nor warnings when compiling was finished.

There are some points I need to ask so I can proceed:

  • I was able to run some calculations properly but got no success with parallel for 01_standard. The message I'm getting is attached below. Could it be an error due to running under 64-bit windows or because of compiling incorrectly? I followed the recomendations given at http://oss.deltares.nl/web/delft3d/general/-/message_boards/view_message/248224 related to smpd.exe but problem persists.
  • As said on that forum page, I can't even run the program by clicking the .mdf as shown on webinar. Next step should be requesting GUI (temporary service)?
  • Is it normal to get this WARNING: Found negative value(s) for dissip(4) in swanout file: value(s) set to zero when finishing running 03_flow-wave example?
  • Is it necessary to try debugging if release process was successfull?
  • Should I wait to have GUI in order to install Delft Dashboard?


I really appreciate any help provided.
Thank you for your time
Kind regards,
Constanzo (UCLA, Venezuela)

.
Adri Mourits, modified 6 Years ago.

RE: Problems compiling Delft3D on windows

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

  • "parallel does not work"
    It is important to use the 64bit mpich2 library and related smpd during compiling. It is added in the trunk, revision 2461 (...\code\src\third_party_open\mpich2\x64\). That means that all current tagged versions (latest is 2399) will not work in parallel when building a 64bit executable on Windows.
  • "clicking the mdf file"
    You certainly should request the GUI. You still won't be able to start it by clicking the mdf file; that's a personally added short cut. The default way is to start Delft3D-menu, start the FLOW-GUI, open the mdf-file.
  • "negative dissip values"
    Yes, that's normal. Inactive points may generate negative dissipation values in SWAN. They are filtered out by Delft3D-WAVE.
  • "debugging" needed
    If everything runs fine, you don't need to debug.
  • "First GUI or Dashboard"
    The GUI and the Dashboard operate independently. It doesn't matter what you install first.


Regards,

Adri
BS
Bladimir Salcedo, modified 5 Years ago.

RE: Problems compiling Delft3D on windows

Youngling Posts: 7 Join Date: 1/7/13 Recent Posts
Hi Constanzo,

I'm haveing many problems compilling Delft3d and I want to talk with ypu about forms to solve the problems.

Can you give me your mail?

Bladimir
Colombia
VT
VIRGINIA TORDABLE, modified 6 Years ago.

RE: Problems compiling Delft3D on windows

Youngling Posts: 12 Join Date: 11/26/13 Recent Posts
Hi Adri,

I have the same problem. My computer is Windows 7, 64 bits, i've installed an old version of delft3d, it works correctly, but I'm going to need delft-WAQ so I need to install a new version but I have problem when I try to compillate it. Even if I use trunk version, What can I do?

Thanks
Adri Mourits, modified 6 Years ago.

RE: Problems compiling Delft3D on windows

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

If you have a service package, you will get a fully tested Delft3D version, including the kernels and you don't need to compile. See this page.

If you don't want to buy a service package, you better solve the compiling problems first. There is a lot of information in this forum and in the FAQ. If that does not help, you can attach the compilation output messages to a post here on this forum.

Regards,

Adri
PM
Pascal Morrissette Paré, modified 5 Years ago.

RE: Problems compiling Delft3D on windows

Youngling Posts: 1 Join Date: 9/4/14 Recent Posts
Hi, I am trying to install Delft3D for the first time, but my colleague has installed it sucesfully. We tried the same steps on my computer but we get a problem...

Here’s what I have installed on my computer :

Microsoft Visual Studio 2010
Microsoft Visual Studio 2010 Service Pack 1 Maintenance
Intel Visual Fortran Composer XE 2013 Update 1 for Windows
Intel Visual Fortran Composer XE 2013 SP1 Update 2 for Windows
Tortoise SVN

With Microsoft Visual Studio 2010, I try to compile the folder 3495 with “Release” and “win32”, but I get 16 errors. Picture in attachment. Can you help me?
Adri Mourits, modified 5 Years ago.

RE: Problems compiling Delft3D on windows

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

Did you try to use "d_hydro_open_source_vs2010_intel13.sln"?

Regards,

Adri
Kevin Hanegan, modified 4 Years ago.

RE: Problems compiling Delft3D on windows

Youngling Posts: 6 Join Date: 7/2/11 Recent Posts
Hi,
I've been successfully compiling and using open source Delft3D on Windows 7 for a while now, but only for hydro/morpho/wave simulations. Now that I'm trying to get WAQ working, I realize that this module has never successfully compiled. I'm using:

Microsoft Visual Studio 2010
Installed Version: Professional

Intel(R) Visual Fortran Package ID: w_fcompxe_2013.1.119
Intel(R) Visual Fortran Composer XE 2013 Update 1 Integration for Microsoft Visual Studio* 2010, 13.0.3600.2010, Copyright (C) 2002-2012 Intel Corporation

Intel® Advisor XE 2013 Update 1
Intel® Advisor XE 2013 Update 1, (build 251878), Copyright © 2009-2012 Intel Corporation. All rights reserved.

Intel® C++ Composer XE 2013 Package ID: w_ccompxe_2013.1.119
Intel® C++ Composer XE 2013 Update 1 Integration for Microsoft* Visual Studio* 2010, Version 13.0.1194.2010, Copyright © 2002-2012 Intel Corporation

Intel® Inspector XE 2013 Update 2
Intel® Inspector XE 2013 Update 2, (build 250094), Copyright © 2009-2012 Intel Corporation. All rights reserved.[/indent]


When I build the release version of both Win32 x64 using d_hydro_open_source_vs2010_intel13.sln solution, I get errors similar to what has been noted in this thread previously;

fatal error LNK1123: failure during conversion to COFF: file invalid or corrump
error LNK2001: unresolved external symbol _NETCDF_mp_NF90_OPEN

I've also tried replacing IFORT_COMPILER12 with IFORT_COMPILER13 as noted in this post:
http://oss.deltares.nl/web/delft3d/delwaq/-/message_boards/view_message/607479
but WAQ and PART builds still fail with similar errors.

Has anyone successfully built the WAQ module using the same development environment (Visual Studio 2010, Intel Fortan 2013)? Also note that I've tried using many different tagged versions of the source, including 2926,4085,4970, and 5169, still without success. Thanks in advance for any help or advice.

Regards,
Kevin

This was cross-posted and awnsered here