Skip to content

olcf/afar-prgenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFAR PrgEnv Module for Frontier

Paper Docs

AFAR PrgEnv overview

This repository provides a relocatable Lmod module tree for AFAR compiler + ROCm drops on Frontier. The tree is designed to be copied into a site modulepath with only a root path update and regeneration.

Quick Start (User)

  1. Add the modulepath: module use /path/to/afar_modules/modulefiles
  2. Load a compatible programming environment: module load cpe/25.09 module load PrgEnv-amd
  3. Load MPI and targets: module load cray-mpich/9.0.1 module load craype-x86-trento module load craype-accel-amd-gfx90a
  4. Load an AFAR drop: module load afar-prgenv/22.2.0-8873
  5. Verify wrapper behavior: ftn --version cc --version
  6. Verify MPICH flavor selection: echo "$CRAY_MPICH_VERSION" echo "$AFAR_MPICH_FLAVOR" pkg-config --cflags mpichf90

Documentation Map

Repository Layout (High Level)

assets/         # README images and overview graphics
afar_modules/   # AFAR module tree (modulefiles, wrappers, pkg-config)
  bin/            # compiler wrapper scripts (ftn/cc/CC)
  config/         # AFAR root + version mapping + Cray MPICH libdir
  docs/           # detailed documentation
  modulefiles/    # generated Lmod modulefiles
  pkgconfig/      # generated pkg-config files
  scripts/        # generator scripts
logs/           # test logs (untracked)
paper/          # paper sources and PDF
repro/          # repro cases for the test harness
scripts/        # test harness and helper scripts
.modules        # known-good module sequence (workspace)

Maintenance Checklist (Short)

Notes

  • Use .modules in this workspace for the known-good module sequence.
  • If PE/MPICH or AFAR versions change, update .modules to keep the sequence current.
  • Regenerate modulefiles after AFAR drop or MPICH path changes: afar_modules/scripts/generate_afar_modules.sh

Paper

Citation

@misc{AfarPrgenv2025,
  author = {Hernandez, Oscar and Elwasif, Wael},
  title = {Afar-prgenv: A configurable programming environment for AMD AFAR drops on Cray HPE systems},
  year = {2025},
  note = {Internal tool used at OLCF Frontier}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors