intro story DELWAQ


DELWAQ is the engine of the D-Water Quality and D-Ecology programmes of the Delft3D suite. It is based on a rich library from which relevant substances and processes can be selected to quickly put water and sediment quality models together.

The processes library covers many aspects of water quality and ecology, from basic tracers, dissolved oxygen, nutrients, organic matter, inorganic suspended matter, heavy metals, bacteria and organic micro-pollutants, to complex algae and macrophyte dynamics. High performance solvers enable the simulation of long periods, often required to capture the full cycles of the processes being modelled.

The finite volume approach underlying DELWAQ allows it to be coupled to both the structured grid hydrodynamics of the current Delft3D-FLOW engine and the upcoming D-Flow Flexible Mesh engine (1D-2D-3D) of the Delft3D Flexible Mesh Suite (or even other models such as TELEMAC).

'DELWAQ in open source' is our invitation to all leading experts to collaborate in further development and research in the field of water quality, ecology and morphology using Delft3D. Feel free to post your DELWAQ related questions or comments in this dedicated forum space. If you are new to DELWAQ, the tutorial (in the user manual) is a good place to start. A list of DELWAQ related publications is available here.




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"

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??