ALPS: The Arbitrary Linear Plasma Solverwww.alps.space

This is an old revision of the document!


Running ALPS

Installation

Compilation

The code compiles with the following compilers:

  • gfortran
  • Intel Fortran
  • PGI Fortran
  • Cray Fortran

We strongly recommend to use gfortran to compile the code. The following section shows the best flags for the different compilers.

gfortran Flags

The following gfortran flags seem to lead to best results:

-O3 -DDOUBLE -ffast-math -funroll-loops -lm -I./include

Intel Fortran Flags

The following Intel Fortran flags seem to lead to best results:

-O3 -DDOUBLE -unroll-aggressive -opt-prefetch -fast -I./include/

PGI Fortran Flags

The following PGI Fortran flags seem to lead to best results:

-O3 -DDOUBLE -fast -Mipa=fast -Mfprelaxed -lm -I./include/

Cray Fortran Flags

ALPS currently shows very poor performance when compiled with the Cray compiler!

The following Cray Fortran flags seem to lead to best results:

-O3 -DDOUBLE -e m -lm -I./include/

Execution

Print/export
QR Code
QR Code wiki:run (generated for current page)