...
- 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
- Place the spack-stack clone in you home directory
Code Block language shell git clone -b release/1.9.0 --recurse-submodules https://github.com/jcsda/spack-stack.git
- 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
...