...
- installation of SPACK
- configuration of SPACK environment
- setting up target location of SPACK based distribution
Marconi + SPACK +
...
GNU
This instruction covers all actions and commands from logging into the Marconi
server to installing imasenv
.
Logging into the
Marconi
:Code Block ssh <USER_NAME>@login.marconi.cineca.it
Change location to
$WORK
directory, which should point to/marconi_work/FUSIO_HLST
:Code Block $: cd $WORK $: pwd /marconi_work/FUSIO_HLST
Prepare directories:
Code Block $: 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
Clone spack repository to
spack-gcc
:Code Block git clone https://github.com/spack/spack.git spack-gcc
Go into
spack-gcc
directory:Code Block cd spack-gcc
Checkout desired version of
spack
:Code Block git checkout v0.19.0
Set-up
spack
configuration:Code Block Install
Lapack
:Code Block spack install netlib-lapack %gcc@7.3.0 cflags="-fPIC" cxxflags="-fPIC" cppflags="-fPIC"
Install
Blas
:Code Block spack install -j 1 netlib-xblas %gcc@7.3.0 cflags="-fPIC" cxxflags="-fPIC" cppflags="-fPIC"
Install
Python
withtkinter
support:Code Block spack install python@3.9.15 +tkinter %gcc@7.3.0 cflags="-fPIC" cxxflags="-fPIC" cppflags="-fPIC"
- Install
Marconi + SPACK +
...
INTEL
Gateway + SPACK +
...
GNU
Gateway + SPACK +
...