Skip to content

0.9 Alpha Release, June 2022

Byron Blay edited this page Jul 22, 2022 · 2 revisions

Description

Fab analyses and builds Fortran & C projects. Builds are configured in Python using ready-made, or custom, builds steps.

This release of fab includes:

  • pre-process, compile, link
  • dependency analysis
    • sub tree extraction
    • multiple executables per run
  • multiprocessing
  • source filtering
  • per-path flags
  • custom build steps
  • metrics
  • config as code
  • sensible defaults - minimal config

Fab does not yet include:

  • incremental builds
  • zero config

Successes

This release of Fab includes configs that build the following projects, on the VDI with gfortran:

  • JULES 6.2 & 6.3
  • GCOM 7.5 & 7.6
  • UM 12.1 & 12.2
  • LFRic subprojects
    • gungho
    • meshtools
    • atm

Usage

Fab can be installed with pip install sci-fab.

To use Fab at The Met Office, we need to set up a Linux environment with the necessary compilers etc. We currently do this with the commands:

module use /data/users/lfric/modules/modulefiles.rhel7
module load environment/lfric/gnu
conda activate sci-fab

with the Conda environment defined here.

Links

Clone this wiki locally