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:
- 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.
- 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.
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, andcompilers.yamlfiles 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:
packages.yamlI list the FASRC built modules (like CMake, hdf5, netcdf, netcdf-fortran, etc.) with external specs and also thebuildable: Falsetag. This will prevent Spack from trying to rebuilld packages that are already present.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 modulesLet me know if you see anything that could be more streamlined.