You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Detailed specification of the task, requirements and comments are here: https://trello.com/c/c5tyJ2ke

After task is finished, this page should contain step by step instruction for each and every installation

1.  Installation of SPACK

TODO: This section should contain all the information related to:

  • installation of SPACK
  • configuration of SPACK environment
  • setting up target location of SPACK based distribution

2. Marconi + SPACK + GNU

This instruction covers all actions and commands from logging into the Marconi server to installing imasenv.

  1. Logging into the Marconi :

    ssh <USER_NAME>@login.marconi.cineca.it
  2. Change location to $WORK directory, which should point to /marconi_work/FUSIO_HLST :

    $: cd $WORK
    $: pwd
    /marconi_work/FUSIO_HLST
  3. Prepare directories:

    $: mkdir -p IMAS_software/{cache,libs,modules,spack,stage}-{gcc,intel}
    $: mkdir -p IMAS_software/cache-{gcc,intel}/{cache,var,test,templates}
    $: tree IMAS_software/
    IMAS_software/
    ├── cache-gcc
    │   ├── cache
    │   ├── templates
    │   ├── test
    │   └── var
    ├── cache-intel
    │   ├── cache
    │   ├── templates
    │   ├── test
    │   └── var
    ├── libs-gcc
    ├── libs-intel
    ├── modules-gcc
    ├── modules-intel
    ├── spack-gcc
    ├── spack-intel
    ├── stage-gcc
    └── stage-intel
  4. Clone spack repository to spack-gcc :

    git clone https://github.com/spack/spack.git spack-gcc
  5. Go into spack-gcc directory:

    cd spack-gcc
  6. Checkout desired version of spack :

    git checkout v0.19.0
  7. Set-up spack configuration:

    
    
  8. Install Lapack :

    spack install netlib-lapack %gcc@7.3.0 cflags="-fPIC" cxxflags="-fPIC" cppflags="-fPIC"
  9. Install Blas :

    spack install -j 1 netlib-xblas %gcc@7.3.0 cflags="-fPIC" cxxflags="-fPIC" cppflags="-fPIC"
  10. Install Python with tkinter support:

    spack install python@3.9.15 +tkinter %gcc@7.3.0 cflags="-fPIC" cxxflags="-fPIC" cppflags="-fPIC"
  11. Install

3. Marconi + SPACK + INTEL

4. Gateway + SPACK + GNU

5. Gateway + SPACK + INTEL

  • No labels