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

Make install mpi.mod error

Drew Mahedy, modified 7 Years ago.

Make install mpi.mod error


I recently checked out the stable Delft3D version under the tags subdirectory. I got through the configure step but when I ran the following make ds-install, I received the following error:

use mpi
Fatal Error: Can't open module file 'mpi.mod' for reading at (1): No such file or directory
make[6]: *** [dfinitmpi.lo] Error 1
make[6]: Leaving directory `/u/amahedy/Opt/delft3D-'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/u/amahedy/Opt/delft3D-'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/u/amahedy/Opt/delft3D-'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/u/amahedy/Opt/delft3D-'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/u/amahedy/Opt/delft3D-'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/u/amahedy/Opt/delft3D-'
make: *** [install-recursive] Error 1

The Linux distribution of the server is Ubuntu. Any suggestions?

Adri Mourits, modified 7 Years ago.

RE: Make install mpi.mod error

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

Yes, compiling with mpi on Linux can be painful. This error suggests that the mpich2 include file "mpi.mod" can not be found. Something like the following command:
export MPI_INCLUDE=/opt/mpich2-1.4.1-gcc-4.6.2/include

must be executed before executing the "make ds-install". See the mpich2 part in "".

But, this should not be needed explicitly when you compiled mpich2 correctly in the default directory. Please read this FAQ item carefully.