Skip to content

Install LArSoft locally

Patrick Gartung edited this page Sep 5, 2025 · 7 revisions

curl -OL https://scisoft.fnal.gov/scisoft/bundles/gcc/v12_5_0/buildcfg/gcc-12-5-0-gcc-11.yaml

curl -OL https://scisoft.fnal.gov/scisoft/bundles/gcc/v12_5_0/manifest/gcc-12-5-0-gcc-11-almalinux9-x86_64_v2.json

curl -OL https://scisoft.fnal.gov/scisoft/bundles/larsoft/v10_09_00/buildcfg/larsoft-10-09-00-gcc-12-5-0-cxx17-prof-gcc-11.yaml

curl -OL https://scisoft.fnal.gov/scisoft/bundles/larsoft/v10_09_00/manifest/larsoft-10-09-00-gcc-12-5-0-cxx17-prof-gcc-11-almalinux9-x86_64_v2.json

git clone -b fnal-v1.0-2025-07-29 https://github.com/FNALssi/fermi-spack-tools.git

fermi-spack-tools/bin/bootstrap --fermi-spack-tools-release fnal-v1.0-2025-07-29 --spack_release fnal-v1.0.0 spack-instalation

source spack-installation/setup_env.sh

If you want to install the environment from buildcaches, create the environments with:

spack env create gcc-12 gcc-12-5-0-gcc-11-almalinux9-x86_64_v2.json

spack -e gcc-12 install

spack env create larsoft-10-09-00 larsoft-10-09-gcc-12-5-0-cxx17-prof-gcc11-almalinux9-x86_64_v2.json

spack -e larsoft-10-09-00 install

If you want to install from scratch, create the environments with:

spack env create gcc-12 gcc-12-5-0-gcc-11.yaml

spack -e gcc-12 install

spack env create larsoft-10-09-00 larsoft-10-09-gcc-12-5-0-cxx17-prof-gcc11.yaml

spack -e larsoft-10-09-00 install

Clone this wiki locally