Skip to content

Informational: Spack config files for Cannon builds with Rocky 8.7 #11

@yantosca

Description

@yantosca

Hi @pedmon and @maggiemcfee. I've been doing some experimenting with Spack builds on RockyLinux. I've created a Git repo with the modules.yaml, packages.yaml, and compilers.yaml files that seems to work well for both gcc 10.2.0 and gcc 12.2.0. Feel free to use this for documetnation purposes.

See: https://github.com/Harvard-ACMG/spack-env

Some notes:

  1. In the packages.yaml I list the FASRC built modules (like CMake, hdf5, netcdf, netcdf-fortran, etc.) with external specs and also the buildable: False tag. This will prevent Spack from trying to rebuilld packages that are already present.
  2. In modules.yaml, I've added settings so that module loads w/ Lmod will add the library path to LD_LIBRARY_PATH, and will also define some environment variables as Lmod does for FASRC-built modules

Let me know if you see anything that could be more streamlined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions