DelftBlue (for TU Delft employees only)
prerequisites
Click here for background information, how the cluster works, and instructions to access the cluster. Staff, postdocs, and PhD students have access granted, so no action is needed. MSc students need to request access.
After login, load the following modules:
module load 2025
module load cmake
module load ninja
module load intel/oneapi-all
Tip
It is useful to place these modules in the ~/.bashrc file so that they are automatically loaded as soon as you log in again.
echo "# load required modules" >> ~/.bashrc
echo module load 2025 >> ~/.bashrc
echo module load cmake >> ~/.bashrc
echo module load ninja >> ~/.bashrc
echo module load intel/oneapi-all >> ~/.bashrc
installation SWASH
download SWASH
git clone https://gitlab.tudelft.nl/citg/wavemodels/swash.git && cd swash
configure SWASH
make config fc=mpiifort mpi=on
build SWASH
make
install SWASH
make install
SWASH is installed at folder $HOME/wavemodels/swash by default.
To run SWASH, you need to make sure that the /bin folder in this directory is added to your system’s PATH:
echo export PATH=$PATH:$HOME/wavemodels/swash/bin >> ~/.bash_profile
source ~/.bash_profile