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 and Parallel run question

JH
Jeff Hansen, modified 6 Years ago.

Compiling and Parallel run question

Padawan Posts: 29 Join Date: 7/12/11 Recent Posts
Hi,
I have successfully compiled several version of the source code for windows using VS2008/Intel compiler 11, including the current trunk and the last two 5.0 versions, but can't seem to compile some other versions (e.g. tag 3426 and 3185). When I open the solution file and select the 32 bit release (I don't have a 64 bit compiler) the default startup project is esmfsm_c, if I leave this as the startup I often get a window that pops up saying " Subversion Revision Extractor has stopped working" or in cases where the build fails I also see a second pop up that says "version_number.exe has stopped working". For some releases if I select a different starup project (e.g. flow2d3d) the code compiles without these messages/issue. My question is if the starup project matters and if so what should it be set as? Also, is there and obvious reason why I am getting these messages (and errors) only for some releases?

Secondly, for the releases that compile successfully I am able to run the examples fine (and my previous models) and the results are reasonable, with the exception of the parallel flow wave example. In the parallel bat file provided with the example the comments indicate the first time you run a parallel simulation you need to execute "smpd -install". When I do this I get the message "OpenSCManager Failed: Access is denied. (error 5) Unable to remove the previous installations, install failed". I have administrative privileges so accesses shouldn't be an issue and I have tried this on several computers with the same result. If I just try and run the example using the parallel bat file I get two command windows, one with the standard Delft3D startup text and a second that just says "Unknown option: -d" and the simulation never starts.

Any suggestions would be appreciated.
Thanks
Jeff Hansen
Qinghua Ye, modified 6 Years ago.

RE: Compiling and Parallel run question (Answer)

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Dear Jeff,

Should not be a problem with the starting project, you always have to build the whole solution, do you?

For the parallel run, you do have to start the smpd first. Can you try again to open a command window as an administrator? Then run smpd -install. You do need the smpd service in the background to run the parallel runs.

Regards,

Qinghua
JH
Jeff Hansen, modified 6 Years ago.

RE: Compiling and Parallel run question

Padawan Posts: 29 Join Date: 7/12/11 Recent Posts
Qinghua,
Thank you for your reply. I forgot about running command window as an administrator, doing so resolved this issue and I can run the parallel example with no problems.
As for the startup project, I am trying to build the whole solution. For what ever reason it does seem to make a difference on my machine.
Thanks
Jeff
Qinghua Ye, modified 6 Years ago.

RE: Compiling and Parallel run question (Answer)

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

I cannot imagine what the difference is. But would you expect this difference hampers you to run the examples attached with the source code? I expect not. Then you should be able to use the Delft3D model for your study.

Kind regards,

Qinghua
SS
Sokly Siev, modified 4 Years ago.

RE: Compiling and Parallel run question

Youngling Posts: 2 Join Date: 4/7/16 Recent Posts
Dear Qinghua and all,

I am Sokly. I have a similar problem regarding parallel run. I have compiled all the code (tag: 5740) without any error. All the executable files are working fine except the parallel run. Before running parallel, I did run smpd.exe first (run as administrator) then when I ran the parallel, I got an error. It said: " unknown option: -d" and I attached the screen log in the attachment.

Thank you for answering and any suggests are really appreciated.

Best regards,

Sokly
Adri Mourits, modified 4 Years ago.

RE: Compiling and Parallel run question (Answer)

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

Some suggestions:
1. Be sure that when DelftD is build in 64bit mode that you use the 64bit version of smpd. You can check this using the Windows TaskManager: running programs are marked with "*32" when they are 32 bit.
2. Be sure that you followed the steps to install smpd as described in "...\examples\01_standard\run_flow2d3d_parallel.bat" as precise as possible.
3. Check that running in parallel is not hampered on your system by a virus checker or other safety tool. Try with disabled virus checker.

Hope this helps.

Regards,

Adri
SS
Sokly Siev, modified 4 Years ago.

RE: Compiling and Parallel run question

Youngling Posts: 2 Join Date: 4/7/16 Recent Posts
Dear Adri,

Thank you so much for your suggestions. I appreciated for that. Now, it works fine after following your suggestions.

Best regards,

Sokly