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: 

Post your questions, issues, suggestions, difficulties related to our Delft3D Flexible Mesh Suite on the new forum.





Sub groups
D-Flow Flexible Mesh
Cohesive sediments & muddy systems


Message Boards

Compilation error: Can't find module file 'mpi.mod'

Cody Johnson, modified 3 Years ago.

Compilation error: Can't find module file 'mpi.mod'

Hi All,

Thanks in advance. I'm trying to build Delft3D on a linux machine. I'm using fedora 25 with kernel 4.9.5-200. I have followed the instructions, except I have relied on fedora's package manager to obtain mpich, netcdf, g++, and gfortan. This could be the issue, but it seems that mpich was compiled with the same version compiler as I'm using to compile Delft3D, so I don't know.

The error I receive is in the make stage of the build process, ./ and ./configure seem alright. When running make I receive the following error:

libtool: compile:  mpif90 -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../../utils_lgpl/deltares_common/packages/deltares_common/src -DWITH_DELFTONLINE -g -O2 -ffree-line-length-none -cpp -c dfbroadc.F90  -fPIC -o .libs/dfbroadc.odfbroadc.F90:45:8:

     use mpi
Fatal Error: Can't open module file ‘mpi.mod’ for reading at (1): No such file or directory compilation terminated.

Loading the mpich module sets the right environmental variables, so the libraries and binaries are in the paths. However, there is no mpi.mod in my include directory, but there is a mpi.h.

I have attached the output of my ./configure and make commands. I'll probably build a seperate mpich and netcdf for Delft3D during my next step. Any insights would be appreciated.

thanks again
Adri Mourits, modified 3 Years ago.

RE: Compilation error: Can't find module file 'mpi.mod' (Answer)

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Cody,

Please check that environment parameter MPI_INCLUDE is defined and is pointing to the correct directory. You can have a view at the mpich part in ".../src/", to get an idea of what is needed.