Home_intro

intro story DELWAQ

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.

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ

Cohesive sediments & muddy systems

 


Message Boards

Compilers, so many compilers, so little compilation

LS
Lachlan Simpson, modified 1 Year ago.

Compilers, so many compilers, so little compilation

Youngling Posts: 4 Join Date: 6/18/19 Recent Posts

I'm really struggling with the build. I've managed to have it not work at all on Windows 10 w VS2017 and Intel 2019, 2018, and VS2015 and Intel 2019. Currently trying the VS2015 and Intel 2017 method, although the compilation seems to have ground to a halt - it seems to have stopped at about 90%.

 

So in an effort to get this rolling, I turned to Ubuntu, my Linux is a lot stronger than my Windows.

 

The installation instructions mention:

NetCDF: netcdf-c-4.6.1 or above, netcdf-fortran-4.4.5 or above, with hdf5 enabled
IMPORTANT: Use exactly the same C++ and Fortran compiler to build NetCDF and Delft3D. Please check in case of using a precompiled distribution.

 

But it's not clear to me what you mean by "Use exactly the same C++ and Fortran compiler to build NetCDF and Delft3D."

 

I *think* what you are saying is something like:

- netcdf-c-4.6.1 and netcdf-fortran-4.4.5  are basically the same software, but one is compiled in fortran and one in c

- whichever you pick, then compile the source with one of c or fortran.

 

But it's not strictly clear that this *is* what you mean. Can I get clarification please?

 

The language around "using the same vendor" is made in two other places, with regard to GNU Fortran compiler - which seems to be asking us to use an incredibly old version *or* the not most recent version (plus a list of complex recompilations) and with regard to Mpich. Again not 100% clear what is meant here either - I have assumed what it means, but I'm not 100% clear and with the difficulties I've experienced so far, I thought it was time to reach out and ask.

 

 

LS
Lachlan Simpson, modified 1 Year ago.

RE: Compilers, so many compilers, so little compilation

Youngling Posts: 4 Join Date: 6/18/19 Recent Posts

I should mention that I'm using https://svn.oss.deltares.nl/repos/delft3d/tags/delft3d4/62441/ as my source. It's been a long time since I've used svn in practice, and it's not clear to me that this is the correct tag to be using.

 

It's also not clear to me that I'm even in the correct tree - I was asked for "Delft3D" but that seems to be 3-5 different products?

Adri Mourits, modified 1 Year ago.

RE: Compilers, so many compilers, so little compilation

Yoda Posts: 1212 Join Date: 1/3/11 Recent Posts

Hi Lachlan,

Please use the latest tagged version, currently: https://svn.oss.deltares.nl/repos/delft3d/tags/delft3dfm/64173/

Compiling on Windows is much easier than on Linux, as long as you have a good look at this page: https://oss.deltares.nl/web/delft3d/source-code

With "use the same compiler" is meant: If you use Intel Fortran 18.0 for compiling Delft3D, you should also use the Intel Fortran 18.0 and the Intel C 18.0 compiler to built all the related libraries (netcdf, mpich, petsc).

Regards,

Adri

LS
Lachlan Simpson, modified 1 Year ago.

RE: Compilers, so many compilers, so little compilation

Youngling Posts: 4 Join Date: 6/18/19 Recent Posts

Thanks Adri, I'll try the repo you have suggested - I don't know how I got that so wrong. Then I'll compile with the system I have in place and work from there.

 

LS
Lachlan Simpson, modified 1 Year ago.

RE: Compilers, so many compilers, so little compilation

Youngling Posts: 4 Join Date: 6/18/19 Recent Posts

That worked - thank you. There's a collection of directories in src/bin/x64, although nothing stands out as the software shown on the site?