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 problems using Windows 7 and Intel Composer XE 2013

JS
Johanna Sucher, modified 7 Years ago.

compiling problems using Windows 7 and Intel Composer XE 2013

Youngling Posts: 9 Join Date: 3/5/13 Recent Posts
Dear all,
like some of you we have problems with compiling using windows (windows 7, Microsoft visual studio professional 2010, intel Studio Composer XE 2013 (32bit)). We already checked the forum, FAQ and the webinars for help.
We always get the error LNK1104 (ifconsol.lib and ifmodintr.lib files can’t be open) as well as RC1109 (error creating Release\version_number.res). All together we get 5 errors and 67 warnings.
We already try to change “IFORT_COMPILER12” to “IFORT_COMPILER13” in the files:
1) engines_gpl\flow2d3d\packages\flow2d3d\flow2d3d.vcxproj
2) engines_gpl\flow2d3d\packages\flow2d3d_openda\flow2d3d_openda.vcxproj
3) engines_gpl\wave\packages\wave\wave_vs2010.vfproj
4) tools_gpl\datsel\packages\datsel\datsel.vcxproj
5) tools_gpl\kubint\packages\kubint\kubint.vcxproj
6) tools_gpl\lint\packages\lint\lint.vcxproj

But when we open these files, there isn’t any “IFORT_COMPILER”, instead we get (opened with text editor):
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

We will be very grateful of your help.
Lieske & Johanna
Adri Mourits, modified 7 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013

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

You have the following 2 options:
  • Use the latest tagged version (currently 5.01.00.2163) and try with the solution named "d_hydro_open_source_vs2010_intel13.sln". This should work for the software tools you are using.
  • Use the latest tagged version (currently 5.01.00.2163) and use the default solution "d_hydro_open_source_vs2010.sln". In this case you have to edit some project files. This seems to be the method you tried. This should also work. Attached are the search results of "INTEL_COMPILER" in the project files, including line numbers. That should help you. (Don't bother about datsel, kubint and lint; you probably won't use these tools).


Hope this helps.

Regards,

Adri
JS
Johanna Sucher, modified 7 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013

Youngling Posts: 9 Join Date: 3/5/13 Recent Posts
Hi Adri,

thanks for your answer.

I tried both opportunities but I still get an error message and a lots of warnings (see figure). I would prefer to use option one.
I tried to run the example, like the webinar shows, but it seems to be, that the d_hydro file isn´t working. You can see it on the second figure.
I would be great if you have another hint for me.

Regards,
Johanna
Adri Mourits, modified 7 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013 (Answer)

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

About the compilation error:
If this really is the only error (related to wave), you should have managed to compile Delft3D-FLOW. Can you try running the first example "01_standard"?
The error message indicates that the compilation itself finished normally (Directory "D:/Benutzer/Lieske/Eigene Dokumente/Uni Kiel/Projekstudie/5.01.00.2163neu/src/engines_gpl/wave/bin/Release" should contain "wave.exe") but something went wrong during the execution of the installation script. See next point.

About the runtime error:
The scripts used are not very safe when using directory names containing spaces. This holds both for the installation scripts (see above) and the run scripts. The easiest solution is to move everything to a directory with a name without spaces.
Solving this is on our TO DO list.

Please start by trying to execute the examples that come with the source code. After compiling the release version, they should run without any copying or script changing.

Regards,

Adri
JS
Johanna Sucher, modified 7 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013

Youngling Posts: 9 Join Date: 3/5/13 Recent Posts
Dear Adri,

thanks for your quick help. We solve the problem with the space tabs. Now the example standard 1 is running but not the parallel one. I got following error message.
Besides I am not able to start Delft3d like the webinar shows. Do I need a setup.exe? Currently I don´t have a delft3d folder on C:. I also cannot open the mfd-file. Do I need to install a virtuell drive?
Adri Mourits, modified 7 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013 (Answer)

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

Running parallel:
See the remarks at the top of "...\examples\01_standard\run_flow2d3d_parallel.bat":
When using mpich2 for the first time on a machine, you have to start the mpich daemon:
Start a Windows command box as administrator: Start -> All programs -> Accessories -> Right-click on "Command prompt" -> from the popup menu: "Run as Administrator"
Go to the directory where the FLOW binaries are installed: "...bin\win32\flow2d3d\bin". This directory contains file "smpd.exe".
Execute:
smpd -install

Delft3D-GUI
You have to order the Graphical User Interface (free of charge): Go to the source code page while being signed in. Follow the instructions in the box at the top titled "TEMPORARY EXTRA SERVICE".

Regards,

Adri
LT
Luke Tillmann, modified 4 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013

Youngling Posts: 1 Join Date: 4/16/15 Recent Posts
Hi Adri.

I am compiling Delft3D, tagged version 4739, on Windows with Microsoft Visual Studio Professional 2010 and Intel Visual Fortran XE 2015.

I have read through a lot of the forum pages and have found much of your advice useful. I changed all of the "IFORT##" to "IFORT15" in the files specified in the text file that you attached in this thread as a response, as well as the files mentioned in the Frequently Asked Questions - Compiling section of the website. These steps helped me narrow down the number of build errors.

I am still getting some LINK errors ("LINK: fatal error LNK1123: failure during conversion to COFF. file invalid or corrupt). I believe this has to do with somehow linking to the libraries in the following directory from my delft2d3d.vcxproj file:

src > third_party_open > netcdf > lib > win32 > Release

I have subdirectories within this folder for ifort10, 12, 13, and 14. There are also some library files outside of the subdirectories, but I believe those were complied using IFORT10.

I am referencing this excerpt from the FAQ page:

"Remark: NetCDF support on output files is introduced in revision 4649. This complicates the compilation as follows:

1. You have to be sure that the NetCDF libraries are available, compiled with exactly the same compiler as you use for Delft3D. Check directory "...\src\third_party_open\netcdf\lib\win32\Release" for the available precompiled NetCDF versions.
2. You have to change "...\src\engines_gpl\flow2d3d\packages\flow2d3d\flow2d3d.vcxproj", such that it points to the correct version of the precompiled NetCDF libraries."



My question is: are there any precompiled netcdf library files for IFORT15 available?

Thanks,
Luke
Adri Mourits, modified 4 Years ago.

RE: compiling problems using Windows 7 and Intel Composer XE 2013 (Answer)

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

I added them in the trunk, revision 5222, copied from branch https://svn.oss.deltares.nl/repos/delft3d/branches/research/Deltares/20150421_33933_vs2013/src/third_party_open/netcdf/lib

I'm sorry for the terrible directory structure. Solving that is on our ToDo list.

Regards,

Adri