pre-compiled binary packages
A pre-compiled binary distribution allows quick installation without requiring compilation. The SWAN v41.51 binaries are available for the following OS/ARCH:
Attention
The above executables have been built using GNU fortran with OpenMP features.
Additionally, these binaries are 64-bit only.
You can run SWAN in parallel using the available cores in your laptop.
Be aware that you may run into compatibility issues when another OS version (e.g., Windows 7, 32-bit Windows 10) or distro (e.g., Linux Mint, Rocky Linux) is installed on your machine, or another CPU architecture (e.g., i386/i686, x86_64, AMD64, ARMv7, ARM64). If this is the case, then Docker might be a good alternative for you.
The tarball file can be extracted in any folder (
tar xzf SWAN-41.51-<OS>.tar.gzwithOS = LinuxormacOS) and has no further installation steps. However, do not forget to permanently add the/binfolder in your installed folder in your$PATHvariable. Open a command line terminal and enter:echo export PATH=$PATH:/your-SWAN-folder/bin >> ~/.bash_profile
The executable for Windows 11 requires some dll libraries of gcc/gfortran. In that case, install the Strawberry Perl package.
The macOS executables require the GCC (GNU Compiler Collection) package. Open a terminal (Applications > Utilities and search for the Terminal app), copy and paste the following command, and hit Enter:
brew install gcc