Skip to content

Installation

This guide walks you through building the project from source, including required dependencies and build steps.


Prerequisites

Before building, make sure the following dependencies are installed on your system:

  • CMake
  • LAPACK
  • MPI (tested with version 3.1)
  • FFTW with MPI support (tested with version 3.3.10)
  • Fortran compiler
  • Currently, only Intel Fortran compilers are supported

Environment Setup (Example)

On systems like Caltech HPC, you can load the required modules with:

module load fftw
module load intel-oneapi-compilers
module load openmpi

Alternatively, if you prefer Intel MPI:

module load fftw/3.3.10-oneapi-2023.2.1-7czoymn
module load intel-oneapi-compilers
module load intel-oneapi-mpi

Building the Project

cmake -B build
cmake --build build

Alternatively, you can use

mkdir build
cd build
cmake ..
make


Build Configuration

  • Default build type: Release
  • Applies optimization flags: -ipo -O3

  • Debug build:
    To enable debugging symbols and backtraces:

cmake -B build -DCMAKE_BUILD_TYPE=Debug