This page contains information about using our container images to run Delft3D computations on your local machine or on HPC clusters and cloud platforms.
A container image is a lightweight, portable package that includes an application and everything it needs to run such as code, libraries, and settings.
Container images are often 'pulled' over the internet from container image repositories.
Contents of this page
| Table of Contents | ||||
|---|---|---|---|---|
|
For Windows Users
If you want to run our Delft3D containers on Windows, follow these instructions: WSL2 (Windows Subsystem for Linux).
After you have followed the instructions, you can start the 'AlmaLinux 8' application anytime you want to use our Delft3D Docker container images on your system.
Obtaining our container images
Instructions for manually loading Delft3D images from image files can be found below in the Sections "Docker container usage" and "Apptainer container usage".
Additionally, Delft3D images are stored in Harbor - the image registry that is used within Deltares. A container image registry makes images available from the network.
Accessing Harbor (for authorised users)
| Warning |
|---|
Pulling images from Harbor has beta status. As such, we do not (yet) offer support for workflows and pipelines that make use of Harbor. |
Follow the steps below in order to obtain images from Harbor.
1. Login to the Harbor web-interface: https://containers.deltares.nl/
- For Deltares employees: Click on 'Deltares Login' using your Deltares email address and Windows password.
- Other authorised users: Log in with your MyDeltares username/email and password.
2. Request access to the Delft3D project in the container registry by sending an email to software@deltares.nl. Include the following in your email:
- Your name;
- Your email address;
- Your Company / Educational Institution / Organisation;
- The type of account required: for personal use or for automation (pipelines);
- The reason for requesting access to Delft3D containers.
After you have been granted access to the Delft3D repository project, 'delft3d' will appear in the Projects list:
3. Copy your CLI secret.
| Warning |
|---|
| For security purposes, when pulling container images, 'CLI secrets' (command line interface secrets) are used instead of your MyDeltares or Windows password. |
Click on your name in the top-right corner and click on 'User Profile'.
Click on the copy-icon to copy your CLI secret to your clipboard.
Image versions and tags
The Delft3D images can be found here. A new container image is available on a regular basis.
| Panel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Prepared examples
The examples.zip file below contains a set of examples that can be used to test your installation of the container. Instructions for running these examples are provided below in the sections 'Docker container usage' and 'Apptainer container usage'.
| View file | ||||
|---|---|---|---|---|
|
Docker container usage
Docker containers are very flexible and there are many ways to use them. We recommended them for Delft3D computations on a local machine, or on a single node of a (cloud) computational cluster.
| Expand | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Make sure to clean up and remove your Docker containers once in a while! Obtaining a Docker imageThere are two ways to install a Delft3D image:
Install the image from a fileUnzip the Load the image by executing the following on the command line:
The image should appear listed in your local Docker container image registry.
The tag should have the format
Install the image from HarborLogin to Harbor via the CLI.
Pull the Docker image.
The image should appear listed in your local Docker container image registry.
The tag should have the format
Using Delft3D Docker images to run modelsThis section describes the steps to perform a single node Delft3D FM computation in Docker. Note, these instructions are for running on Linux or within WSL2 (Windows Subsystem for Linux). First Delft3D run (inside the container)The image contains a simple test case. To run it, execute this on the command line:
Run an example test case (outside the container) using a prepared scriptDownload the set of prepared examples (see
Commonly encountered problem (and workaround)When using Docker on Windows, the Windows filesystem sometimes is 'lost' between runs due to a Microsoft bug. Error (for example, testcase 02_dflowfm_parallel):
Workaround: Type these commands on the command line and then re-run:
Or add these commands to the run_docker.sh script (above the 'docker run' line). |
Apptainer container usage
We recommend using the Delft3D Apptainer container on High Performance Computing (HPC) clusters. The container can be used to run Delft3D computations on single or multiple nodes.
| Expand | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Obtaining an Apptainer imageThere are two ways to install a Delft3D image:
Install the image from a fileUnpack the Install the image from HarborLogin to Harbor via the CLI.
* For older versions (1.2.X and older) of Apptainer, use: Pull the Docker image and convert it directly to an Apptainer image
This will result in a Using Delft3D Apptainer images to run models on High Performance Computing clusters
For employees of Deltares: the run scripts for HYDRAX, Snellius (SURF) and DelftBlue (TU Delft) can be found here: Other users: Please contact software@deltares.nl if you wish to run computations on DelftBlue, Snellius and other HPC clusters.
1. Prepare the computation
For more information: see User manual and Installation manual, see https://download.deltares.nl/en/download/delft3d-fm/
2. Submit the computationYour computation can be submitted to the Slurm queue by logging into HYDRAX and running the following command in a terminal:
The simulation will be placed in a queue and will be given a Slurm job ID, e.g.: 3. Examine the outputSlurm will generate a text output file that you can examine in order to monitor the progress of your simulation. This file has a name with format |



