-
Notifications
You must be signed in to change notification settings - Fork 17
Spack Manager Tutorial 02 18 2022
Jon Rood edited this page Feb 18, 2022
·
11 revisions
- Introduction to Spack-Manager (20 min)
- Snapshot Workflow Tutorial (20 min)
- Eagle Snapshot Workflow Commands:
- export SCRATCH=/scratch/${USER}
- cd ${SCRATCH}
- git clone --recursive https://github.com/psakievich/spack-manager.git
- export SPACK_MANAGER=${SCRATCH}/spack-manager && source ${SPACK_MANAGER}/start.sh && spack-start
- spack manager create-env --name exawind --spec 'exawind@master+hypre %gcc'
- spack env activate -d ${SPACK_MANAGER}/environments/exawind
- spack manager develop nalu-wind@master; spack manager develop exawind@master;
- spack manager external --list
- spack manager external --latest -v gcc
- spack concretize -f
- spack install
- cd ${SPACK_MANAGER}/environments/exawind/nalu-wind
- vi unit_tests.C
- spack install
- spack cd -b nalu-wind
- spack build-env nalu-wind ./unittestX
- Quick-Command Workflow Tutorial (10 min)
- Additional Q&A (10 min)
Other Topics:
- FAQ
- In's and outs of
spack manager external
- CMake script
- How to add your own CMake flags
- How to edit
spack.yaml
- What are the directories in Spack-Manager