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

compiling code ( under Suse 11.3.

Hemerson Tonin, modified 9 Years ago.

compiling code ( under Suse 11.3.

Youngling Posts: 12 Join Date: 3/29/11 Recent Posts
I've tried to compile the code ( under Suse 11.3.

After much reading and I decided to search the forum for help.

I'm posting just the final part of the message that appears on the screen, since before this, the compiling looks like smooth:

Your help will be appreciated


make[7]: Entering directory `/home/hemer/delft3d/engines_gpl/flow2d3d/packages/data/src/basics'
/bin/sh ../../../../../../libtool --tag=FC --mode=compile gfortran -I../../../../../../engines_gpl/flow2d3d/packages/data/include -I../../../../../../utils_lgpl/precision/packages/precision/src -I../../../../../../utils_lgpl/delftio/packages/delftio/src/diof90 -I../../../../../../utils_lgpl/inifiles/packages/inifiles/src -I../../../../../../utils_lgpl/utils_flow/packages/utils_flow/src -I../../../../../../utils_lgpl/ec_module/packages/ec_module/src -O2 -g -O2 -fopenmp -ffree-line-length-none -c -o bedcomposition_module.lo bedcomposition_module.f90
libtool: compile: gfortran -I../../../../../../engines_gpl/flow2d3d/packages/data/include -I../../../../../../utils_lgpl/precision/packages/precision/src -I../../../../../../utils_lgpl/delftio/packages/delftio/src/diof90 -I../../../../../../utils_lgpl/inifiles/packages/inifiles/src -I../../../../../../utils_lgpl/utils_flow/packages/utils_flow/src -I../../../../../../utils_lgpl/ec_module/packages/ec_module/src -O2 -g -O2 -fopenmp -ffree-line-length-none -c bedcomposition_module.f90 -fPIC -o .libs/bedcomposition_module.o

use precision
Fatal Error: Can't open module file 'precision.mod' for reading at (1): No such file or directory
make[7]: *** [bedcomposition_module.lo] Error 1
make[7]: Leaving directory `/home/hemer/delft3d/engines_gpl/flow2d3d/packages/data/src/basics'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/hemer/delft3d/engines_gpl/flow2d3d/packages/data/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/hemer/delft3d/engines_gpl/flow2d3d/packages/data'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hemer/delft3d/engines_gpl/flow2d3d/packages'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hemer/delft3d/engines_gpl/flow2d3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hemer/delft3d/engines_gpl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hemer/delft3d'
make: *** [all] Error 2
Bert Jagers, modified 9 Years ago.

RE: compiling code ( under Suse 11.3. (Answer)

Jedi Knight Posts: 201 Join Date: 12/22/10 Recent Posts
Hello Hemer,

The error
Fatal Error: Can't open module file 'precision.mod' for reading at (1): No such file or directory

indicates that it cannot locate the precision.mod file. The precision.f90 file should be located in
and it should have been processed and compiled before the make environment starts working on the bedcomposition_module. This compilation process should also have created the precision.mod file for which gfortran is searching in the folder mentioned above (see the include argument -I../../../../../../utils_lgpl/precision/packages/precision/src).

Please check whether the precision.mod file is located in that folder. By default the environment compiles the files in the source folder, but I notice that the bedcomposition_module seems to build to an object file in a subfolder '.libs'. So, if the precision.mod file is not located in the default folder mentioned above, it might also be in a subfolder '.libs'. Can you confirm whether that is the case?

I assume that you have either changed the build configuration (did you?), or there is something on your system that makes the environment behave differently. I notice that you're using gfortran rather than the intel fortran that we are using ourselves, but I don't know whether that can automatically trigger files to be located in other folders. Furthermore, note that .mod files are compiler dependent; that might be another reason why a compiler indicates that it cannot locate a (valid) .mod file. That's about all I know of the Linux make environment; I expect that someone else will be able to help you further once you have located the precision.mod file.

Kai Sdeo, modified 3 Years ago.

RE: compiling code ( under Suse 11.3.

Youngling Posts: 1 Join Date: 8/22/17 Recent Posts
Hemerson Tonin:

Fatal Error: Can't open module file 'precision.mod' for reading at (1): No such file or directory
make: *** [all] Error 2

I got the same/similar message (for later tags the error was "Fatal Error: Can't open module file 'precision_basics.mod' ") when I executed "make -j 8", so compiling with multiple threads. This problem disappeared by using the line "make ds-install".
Adri Mourits, modified 3 Years ago.

RE: compiling code ( under Suse 11.3. (Answer)

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

The compilation of Delft3D is not prepared for parallel computation. So skip the "-j 8".