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

Error Compiling Delft3D Linux "cannot have a deferred shape"

Mariangel Garcia, modified 6 Years ago.

Error Compiling Delft3D Linux "cannot have a deferred shape"

Youngling Posts: 2 Join Date: 10/3/13 Recent Posts
I managed to get an updated gnu compiler environment installed on the system where we're trying to build delft3d -- this gives gcc and gfortran version 4.72.

then i built mpich so that it would be based on these compilers.

but even w/ this updated compiler environment i get the following error during the compilation of delft3d (configure seemed to go OK):

/bin/sh ../../../../../libtool --tag=FC --mode=compile mpif90 -I../../../../../utils_lgpl/precision/packages/precision/src -I../../data_f/src -I../../utils_f/src -I../../io_f/src -DWITH_DELFTONLINE -g -O2 -ffree-line-length-none -cpp -c -o partur.lo partur.f90
libtool: compile: mpif90 -I../../../../../utils_lgpl/precision/packages/precision/src -I../../data_f/src -I../../utils_f/src -I../../io_f/src -DWITH_DELFTONLINE -g -O2 -ffree-line-length-none -cpp -c partur.f90 -fPIC -o .libs/partur.o

real (sp),dimension(emoticon :: const
Error: Array 'const' at (1) cannot have a deferred shape

integer(ip),dimension(emoticon :: mapsub
Error: Array 'mapsub' at (1) cannot have a deferred shape
make[6]: *** [partur.lo] Error 1
make[6]: Leaving directory `/root/delft3d/src/engines/part/packages/kernel_f/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/delft3d/src/engines/part/packages/kernel_f'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/delft3d/src/engines/part/packages'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/delft3d/src/engines/part'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/delft3d/src/engines'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/delft3d/src'
make: *** [all] Error 2

i don't know what to do about this build error... online searches don't seem to lead to anything useful, though i'll try to do some more checking.

i removed the 2 lines that were causing the problem from


and the build seems to be proceeding. i think these 2 lines are typos from older code or something. ?????

it really seems like partur.f90 is foo-barred.

Any suggestion??