Skip to content

Script to initialize a private spack instance for a sysroot'd LLVM toolchain on Fugaku

Notifications You must be signed in to change notification settings

RIKEN-RCCS/PrivLLVMSpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

To install Spack 0.22.2 and initialize with LLVM 19.1.4 compiler execute the following command on the login node

curl -OfsSL https://raw.githubusercontent.com/RIKEN-RCCS/PrivLLVMSpack/main/spack0.22_llvm19.sh && pjsub spack0.22_llvm19.sh

This will submit a job for you. After the job finishes you can use the private spack via

source ${SPACK_PATH}/share/spack/setup-env.sh

The ${SPACK_PATH} usually points to .spack-llvm-v19.1.4/ within one of your data directories (e.g. /vol*/data/<one_of_your_groups>/), and not your home folder. You may change the default path when submitting the job, e.g.

pjsub -x "SPACK_PATH=$HOME/newspack" ./spack0.22_llvm19.sh

About

Script to initialize a private spack instance for a sysroot'd LLVM toolchain on Fugaku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages