Skip to content

nsfcac/Spack-zen4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spack environment for the zen4 partition of REPACSS

This repository tracks the packages installed via Spack for the zen4 partition of the REPACSS cluster. If you wish to test or contribute new packages, please follow the instructions below.

Using a Local Spack Install Tree (For Testing)

To test and install packages in your own user environment without affecting the shared installation:

  1. Clone the reporsitory:
git clone https://github.com/nsfcac/Spack-zen4.git
cd Spack-zen4
  1. Enable local install tree: Uncomment the following lines in spack.yaml to use a custom install location:
config:
  install_tree: $HOME/.spack/.spack-store
  1. Activate the environment:
spack env activate . -p

The -p flag updates your shell prompt to show the active environment (e.g., [Spack-zen4]).

  1. Test and install packages in your personal environment without interfering with system-wide configurations.

Finding and Installing a Package

Follow these steps to search for and install a package:

  1. Search for a package (e.g., for MPI libraries):
spack list mpi
  1. Get detailed info about a package (e.g., available versions, variants, and dependencies):
spack info mpich
  1. Add a package to the environment (example with a specific version):
spack add mpich@4.2.3
  1. Concretize and install:
spack concretize
spack install

Notes

  • Only modify spack.yaml when making changes for the shared environment.
  • Use a separate branch or fork for proposing changes, and submit a pull request when ready.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published