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
module load metis
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
echo module load metis >> ~/.bashrc
installation SWAN
download SWAN
git clone https://gitlab.tudelft.nl/citg/wavemodels/swan.git && cd swan
configure SWAN
make config fc=mpiifort mpi=on metis=on
build SWAN
make
install SWAN
make install
SWAN is installed at folder $HOME/wavemodels/swan by default.
To run SWAN, 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/swan/bin >> ~/.bash_profile
source ~/.bash_profile