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 v6118 in Windows 10

KL
K Liu, modified 3 Years ago.

Compiling v6118 in Windows 10

Padawan Posts: 48 Join Date: 10/23/13 Recent Posts
Dear all,

I recently tried an installation of the version 6118 under Windows 10 (Visual studio community 2015, Intel(R) Visual Fortran Compiler 17.0.0.109). I tested the examples, and they are working except few questions:

First, the building process went on well smoothly (no errors). But at the end, the progress bar froze with something to finish and VS got stuck (it shows “83>Project not selected to build for this solution configuration”). I terminated VS manually.
The log file from the building and a screen shot of the VS interface are attached. Could you give me some hint what is going on at the end?

Second, there are some problem with the parallel run of example 1. From the build log file, the mpich2 library is successfully copied. The model is running with the mpi command, but it gives some messages like “Unable to open the HKEY_LOCAL_MACHINE\SOFTWARE\MPICH\SMPD\process\864116 registry key, error 5, Access is denied.” Does that have something to do with my firewall setting?
I attach a screen output from the mpi run (“screen_parallel_np5.txt”). Is the mpi running successfully on this machine?

Third, in the batch file for the parallel run, I notice the maximum number of processors is set to be 5:
NPROC% gtr 5 set NPROC=5
I tried to use more processors, and it gave me errors (“screen_parallel_np5.txt”). Is that maximum number processors (5) decided by the example case (small domain), or it is the limitation of the parallelization of this Delft3D version?

Thank you in advance!

Ke
Adri Mourits, modified 3 Years ago.

RE: Compiling v6118 in Windows 10

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

1. Hanging build
I have no idea why VisualStudio hangs. I don't expect this is related to “83>Project not selected to build for this solution configuration”: that is just an indication that the project "flow2d3d_openda" can be skipped. And that's correct (in VisualStudio, menu -> Build -> Configuration Manager..., you can check what projects are included and what not).

2. "Access denied" on parallel computation
Possibly this is related to your firewall settings. Did you follow the instructions in the comments in file "...\examples\01_standard\run_flow2d3d_parallel.bat" about starting smpd? It's important that you start it as administrator to avoid these problems.
Your file "screen_parallel_np5.log" says it DID run in parallel. The cleanest check is that there should be 5 tri-diag files in your working directory.

3. Maximum number of processors
5 is the maximum number for this very small example. If your model is "big enough" the maximum number may increase to 999. The optimum number of processors depend on a lot of factors but is commonly in the order of magnitude 20.

Regards,

Adri
KL
K Liu, modified 3 Years ago.

RE: Compiling v6118 in Windows 10

Padawan Posts: 48 Join Date: 10/23/13 Recent Posts
Adri,

Yes, I followed the instruction to run smpd, and I did get 5 tri-diag files when I use five processors. Probably the best way for me is to run a large case and hope it works.

Since this is a computer of my company, I can't modify the firewall setting by myself. But the good thing is that this version works well for me so far.

Thank you very much for your help!

Ke
OL
Oliver Lojek, modified 3 Years ago.

RE: Compiling v6118 in Windows 10

Jedi Knight Posts: 111 Join Date: 4/30/13 Recent Posts
Dear K Liu,

I am currently trying to compile Delft3D on Windows 7 and 10, I have access to Visual Studio 2012 Premium and 2015 Community as well as the whole range of Intel Fortran Compilers.

I tried a couple of combinations; on Windows 10 I tried VS 2015 Update 3 & Intel XE Parallel 2017, Python 3.4. and MS NET 4.5 with the latest 3 tags and ran into 54 Errors and over 100 Warnings.

Both Phython versions did not help, what else is required or did you use?

Kind regards,

Oliver
KL
K Liu, modified 3 Years ago.

RE: Compiling v6118 in Windows 10 (Answer)

Padawan Posts: 48 Join Date: 10/23/13 Recent Posts
Oliver,

If "prepare_sln.py" in the source code folder runs well, probably you don't have to worry about your python version. I am with python 2.7.

For the one I mentioned in this post, it is version 6118 using Visual studio community 2015, Intel(R) Visual Fortran Compiler 17.0.0.109. But it looks like you have tried that. Maybe you can upload the log file with the error information, and many experts here can help you take a look.

Best regards,

Ke
Adri Mourits, modified 3 Years ago.

RE: Compiling v6118 in Windows 10 (Answer)

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

Currently, the version we build ourself is built using Windows 7, VisualStudio 2012, Intel Fortran compiler 13.
The prerequisites are listed here.
Please check that the Intel Fortran compiler is plugged in in the VisualStudio environment: via the VisualStudio menu bar -> help -> About Microsoft Visual Studio, you will get a window with all plugged in modules. The Intel compiler should be in that list.
The plugging will be done automatically when the Intel Fortran compiler is installed after installing VisualStudio.

If it still doesn't work: can you copy/paste the full contents of the output window in Visual Studio in a text file and attach it to a post on this forum?

Thanks.

Regards,

Adri