Installation — Linux / HPC¶
Prerequisites¶
Install the required development libraries using your distribution's package manager.
Minimum compiler requirement: GCC ≥ 10 (C++17 support).
Building¶
Quick Build¶
Manual Build¶
The executable is placed in bin/oasis.
Build Options¶
| Option | Default | Description |
|---|---|---|
OASIS_USE_OPENFAST |
OFF |
Enable OpenFAST wind turbine coupling |
OASIS_USE_SUPERLU |
ON |
Enable SuperLU sparse solver |
OASIS_USE_STL_READER |
ON |
Enable STL mesh reader |
Pass options on the command line:
HPC Clusters (EasyBuild)¶
On EasyBuild-based clusters, OASIS auto-detects library paths from environment modules. Load the required modules first:
Then build normally:
The CMake configuration reads the EBROOTGCCCORE, EBROOTArmadillo, EBROOTOPENBLAS, etc. environment variables set by the modules.
Deploying to a Cluster¶
Use the provided sync script to copy the project to a remote cluster:
Verifying the Installation¶
Run a quick example to verify the build:
The simulation should complete without errors and produce output files in the output/ directory.