...
- Profile should be established this
umaskwill be required later in the stack install as will theulimitsettingsCode Block language shell # .bash_profile umask 0022 ulimit -S -s unlimited if [[ ~/.bashrc ]]; then . ~/.bashrc fi cd ~
- Follow the instructions for Prerequisites for Ubuntu (one-off):
- apt install -y gcc-13 g++-13 gfortran-13 gdb
- gcc –version
- https://spack-stack.readthedocs.io/en/latest/NewSiteConfigs.html#prerequisites-ubuntu-one-off
- When installing the gcc compilers, make sure you install version 13
- Check that you have the links for the gcc compilers installed, and that the version is 13.x
- Follow the instructions for creating a new environment: https://spack-stack.readthedocs.io/en/latest/NewSiteConfigs.html#newsiteconfigs-linux-createenv
- Step 1: For now use the 1.9.0 release branch when cloning spack-stack (Place the spack-stack clone in you home directory git clone -b release/
- .)
Code Block language shell git clone -b release/1.9.0 --recurse-submodules https://github.com/jcsda/spack-stack.git
cd spack
stack create env --site linux.default --template unified-dev --name -stack # Sources Spack from submodule and sets ${SPACK_STACK_DIR} source setup.sh- Step 2: Create a unified-dev environment - complete step following
newsiteconfigsCode Block language shell spack stack create env --site linux.default --template unified-dev --name unified-env.gcc --compiler=
gcc
- In the section where you are adding the compiler and mpi to the config, use (example is based on “gcc –version” returning 13.3.0)
- spack config add "packages:all:compiler:[gcc@13.3.0]"
- spack config add "packages:all:providers:mpi:[openmpi@5.0.5]"
- https://spack-stack.readthedocs.io/en/latest/NewSiteConfigs.html#newsiteconfigs-linux-createenv
- Step 1: For now use the 1.9.0 release branch when cloning spack-stack
- Step 2: Create a unified-dev environment
- Step 5: Check that “spack compiler find --scope system” reports version 13.x
- Step 7: Use openmpi 5.0.5 instead of mpich
- Step 9: Leave the module configuration as is (tcl), so skip this step
gcccd envs/unified-env.gcc/ spack env activate [-p] .- Step 3: follow
newsiteconfigs - Step 4: follow
newsiteconfigs - Step 5: Check that “spack compiler find --scope system” reports version 13.x)
- Step 6: follow
newsiteconfigs - Step 7: Use openmpi 5.0.5, can
skipadd of mpich.Code Block language shell gcc --version#presume gcc v13.3.0 herespack config add "packages:all:compiler:[gcc@13.3.0]"Code Block language shell # openmpi v5.0.5 skip mpich install spack config add "packages:all:providers:mpi:[openmpi@5.0.5]"
- Step 8: follow
newsiteconfigs - Step 9: skip - if new Orbstack
- Step 10: skip - if new Orbstack
- Step 11: concretize and install: follow
newsiteconfigs
Building jedi-bundle and running skylab
...