The material on the SWAN website provides a Makefile and two Perl scripts (platform.pl
and switch.pl) that enables the user or developer to install SWAN on the computer in a
proper manner. For this, the following platforms, operating systems and compilers are supported (and tested):
platform | OS | F90 compiler |
Intel/AMD desktop/laptop | Linux | gfortran |
Intel Core desktop/laptop | Linux | Intel |
Intel Xeon desktop/laptop | Linux | Intel |
x86-64 processor-based system | Linux | Portland Group |
Intel/AMD desktop/laptop | Linux | Lahey |
Intel Core desktop/laptop | MS Windows | Intel |
Intel Xeon desktop/laptop | MS Windows | Intel |
Intel/AMD desktop/laptop | MS Windows | Lahey |
MacBook | macOS | gfortran |
MacBook | macOS | Intel |
SGI Origin 3000 (Silicon Graphics) | IRIX | SGI |
IBM SP | AIX | IBM |
Compaq True 64 Alpha (DEC ALFA) | OSF1 | Compaq |
Sun SPARC | Solaris | Sun |
PA-RISC (HP 9000 series 700/800) | HP-UX v11 | HP |
IBM Power6 (pSeries 575) | Linux | IBM |
Power Mac G4 | Mac OS X | IBM |
If your computer and available compiler is mentioned in the table, you may consult Section
3.2.2 for a complete build of the software without making any modifications.
If desired, you may install SWAN manually; see Section 3.2.3.
Note that for a successful installation, a Perl package must be available on your computer.
Usually, it is available for macOS, Linux and a UNIX-like operating system. Check it by typing
perl -v. You can download Perl for MS Windows from Strawberry Perl.
The Perl version should be at least 5.0.0 or higher!
Before starting the build process, the user may first decide how to run the SWAN program. There are three
run modes:
The SWAN team 2024-09-09