Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Profile should be established this umask  will be required later in the stack install as will the ulimit  settings
    Code Block
    languageshell
    # .bash_profile
    umask 0022
    ulimit -S -s unlimited
    
    if [[ ~/.bashrc ]]; then
      . ~/.bashrc
    fi
    
    cd ~

  2. Follow the instructions for Prerequisites for Ubuntu (one-off): 
    1. apt install -y gcc-13 g++-13 gfortran-13 gdb
    1. gcc –version
    2. https://spack-stack.readthedocs.io/en/latest/NewSiteConfigs.html#prerequisites-ubuntu-one-off
    3. When installing the gcc compilers, make sure you install version 13
    4. Check that you have the links for the gcc compilers installed, and that the version is 13.x
  3. Follow the instructions for creating a new environment:   https://spack-stack.readthedocs.io/en/latest/NewSiteConfigs.html#newsiteconfigs-linux-createenv 
    1. Step 1: For now use the 1.9.0 release branch when cloning spack-stack (Place the spack-stack clone in you home directory
    2.  git clone -b release/
    3. .)
      Code Block
      languageshell
      git clone -b release/1.9.0 --recurse-submodules https://github.com/jcsda/spack-stack.git
    4. 
      cd spack
    5. stack create env --site linux.default --template unified-dev --name
    6. -stack
      
      # Sources Spack from submodule and sets ${SPACK_STACK_DIR}
      source setup.sh
    7. Step 2: Create a unified-dev environment - complete step following newsiteconfigs 
      Code Block
      languageshell
      spack stack create env --site linux.default --template unified-dev --name unified-env.gcc --compiler=
    8. gcc
    1. 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)
      1. spack config add "packages:all:compiler:[gcc@13.3.0]"
      2. spack config add "packages:all:providers:mpi:[openmpi@5.0.5]"
    1. https://spack-stack.readthedocs.io/en/latest/NewSiteConfigs.html#newsiteconfigs-linux-createenv
    2. Step 1: For now use the 1.9.0 release branch when cloning spack-stack
    3. Step 2: Create a unified-dev environment
    4. Step 5: Check that “spack compiler find --scope system” reports version 13.x
    5. Step 7: Use openmpi 5.0.5 instead of mpich
    6. Step 9: Leave the module configuration as is (tcl), so skip this step
    1. gcccd envs/unified-env.gcc/
      spack env activate [-p] .
    2. Step 3: follow newsiteconfigs 
    3. Step 4: follow newsiteconfigs 
    4. Step 5: Check that “spack compiler find --scope system” reports version 13.x)
    5. Step 6: follow newsiteconfigs 
    6. Step 7:  Use openmpi 5.0.5, can skip  add of mpich.  
        1. Code Block
          languageshell
          gcc --version#presume gcc v13.3.0 herespack config add "packages:all:compiler:[gcc@13.3.0]"
        2. Code Block
          languageshell
          # openmpi v5.0.5 skip mpich install
          spack config add "packages:all:providers:mpi:[openmpi@5.0.5]"
    7. Step 8: follow newsiteconfigs 
    8. Step 9: skip - if new Orbstack 
    9. Step 10: skip - if new Orbstack
    10. Step 11: concretize and install: follow newsiteconfigs 

Building jedi-bundle and running skylab

...