Versions Compared

Key

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

Table of Contents
maxLevel1
 

Introduction

This tutorial assumes that the installation will be performed in the user's $HOME directory, preferably in a public subdirectory. The convention in this manual assumes the following directory structure:

...

First, the necessary dependencies for the installation environment must be provided in specific order to be able to install all of them and IMAS itself. The following is a list with the order in which each dependency was installed:

  1. GCC v8.3.0
  2. Perl v5
  3. GNU Autoconf v2.69
  4. GNU Automake v1.15
  5. Cmake v.3.20.6
  6. Python v3.7.10
  7. Cython 0.29.23
  8. Java Development Kit v1.8.0_111
  9. Intel Parallel Studio XE 2020
  10. Git v2.17.0
  11. Saxon v9
  12. Blitz++ v1.0.2
  13. MdsPlus v7.96.15

Table of Contents
maxLevel2
minLevel2


  • GCC v8.3.0

    The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, and Go, as well as libraries for these languages. There should be a system installation with the required version on the Marconi cluster. Just use the module to load it as below:

    Code Block
    languagebash
    module load gnu/8.3.0


  • Perl v5

    The v5.16.3 version should be immediately available as part of the system.

  • GNU Autoconf v2.69

    The v2.69 version should be immediately available as part of the system.


  • GNU Automake v1.15

    To install automake version 1.15 follow these steps:


    Normal wayUsing Spack

    1. Code Block
      languagebash
      cd ~/public/temp



    2. Code Block
      languagebash
      wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz



    3. Code Block
      languagebash
      tar -xf automake-1.15.tar.gz

...



    1. Code Block
      languagebash
      cd automake-1.15


    2. In this tutorial directory path is "~/public/switm/automake/1.15"

      Code Block
      languagebash
      # ./configure --prefix=<directory_path>
      ./configure --prefix=~/public/switm/automake/1.15



    3. Code Block
      languagebash
      make



    4. Code Block
      languagebash
      make install



    Code Block
    languagebash
    spack install automake@1.15 %gcc@8.3.0










  • Cmake v.3.20.6

    Normal wayUsing Spack

...


    1. Code Block
      languagebash
      cd ~/public/temp



    2. Code Block
      languagebash
      wget https://

...

    1. github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6.tar.gz



    2. Code Block
      languagebash
      tar -xf 

...

    1. cmake-

...

    1. 3.20.

...

    1. 6.tar.gz



    2. Code Block
      languagebash
      cd 

...

    1. cmake-3.20.6.tar.gz


    2. In this tutorial directory path is "~/public/switm/cmake/3.20.6"

      Code Block
      languagebash
      # ./configure --prefix=<directory_path>

...

    1. 
      ./configure --prefix=~/public/switm/cmake/3.20.6



    2. Code Block
      languagebash
      make



    3. Code Block
      languagebash
      make install



    Code Block
    languagebash
    spack install cmake@3.20.6 %gcc@8.3.0










  • Python v3.7.10

    Normal wayUsing Spack

    1. Code Block
      languagebash
      cd ~/public/temp



    2. Code Block
      languagebash
      wget https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz



    3. Code Block
      languagebash
      tar -xf Python-3.7.10.tgz



    4. Code Block
      languagebash
      cd Python-3.7.10.tgz


    5. In this tutorial directory path is "~/public/switm/

...

    1. python/

...

    1. 3.7.

...

    1. 10"

      Code Block
      languagebash
      # ./configure --prefix=<directory_path>
      ./configure --prefix=~/public/switm/

...

    1. python/

...

    1. 3.7.

...

    1. 10



    2. Code Block
      languagebash
      make

...



    1. Code Block
      languagebash
      make install

...



    Code Block
    languagebash
    spack install python@3

...

  • .7.10










  • Cython 0.29.23

    Normal wayUsing Spack

    1. Code Block
      languagebash
      cd ~/public/temp



    2. Code Block
      languagebash
      wget https://files.pythonhosted.org/packages/source/c/cython/Cython-0.29.23.tar.gz



    3. Code Block
      languagebash
      tar -xf Cython-0.29.23.tar.gz



    4. Code Block
      languagebash
      cd Cython-0.29.23.tar.gz


    5. In this tutorial directory path is "~/public/switm/cython/0.29.23"

      Code Block
      languagebash
      python setup.py install --prefix=~/public/switm/cython/0.29.23



    Code Block
    languagebash
    spack install py-cython@0.29.23









  • Java Development Kit v1.8.0_111

There should be a system installation with the required version on the Marconi cluster. Just use the module to load it as below:

Code Block
languagebash
module load jdk/1.8.0_111


  • Intel Parallel Studio XE 2020

There should be a system installation with the required version on the Marconi cluster. Just use the module to load it as below:

Code Block
languagebash
module load intel/pe-xe-2020--binary


  • Git v2.17.0

There should be a system installation with the required version on the Marconi cluster. Just use the module to load it as below:

Code Block
languagebash
module load git/2.17


  • Saxon v9

Normal way

  1. Code Block
    languagebash
    cd ~/public/temp



  2. Code Block
    languagebash
    wget http://www.saxonica.com/download/SaxonPE9-6-0-10J.zip



  3. Code Block
    languagebash
    unzip -d source/ download.zip


  • Blitz++ v1.0.2

Normal wayUsing Spack

  1. Code Block
    languagebash
    cd ~/public/temp



  2. Code Block
    languagebash
    wget https://github.com/blitzpp/blitz/archive/refs/tags/1.0.2.zip



  3. Code Block
    languagebash

...

  1. unzip 1.0.2.zip



  2. Code Block
    languagebash
    cd blitz-1.0.2



  3. Code Block
    languagebash
    mkdir build && cd build


  4. In this tutorial directory path is "~/public/switm/blitz/1.0.2"

    Code Block
    languagebash
    cmake -DCMAKE_INSTALL_PREFIX=~/public/switm/blitz/1.0.2 ..



  5. Code Block
    languagebash
    make lib



  6. Code Block
    languagebash
    make install



Code Block
languagebash
spack install blitz@1.0.1 %gcc@8.3.0









  • MdsPlus v7.96.17

Normal wayUsing Spack

  1. Code Block
    languagebash
    cd ~/public/temp



  2. Code Block
    languagebash
    wget https://github.com/MDSplus/mdsplus/archive/refs/tags/stable_release-7-96-17.zip



  3. Code Block
    languagebash
    unzip stable_release-7-96-17.zip



  4. Code Block
    languagebash
    cd mdsplus-stable_release-7-96-17/



  5. Code Block
    languagebash
    ./bootstrap


  6. In this tutorial directory path is "~/public/switm/mdsplus/7.96.17"

    Code Block
    languagebash
    ./configure --prefix=~/public/switm/mdsplus/7.96.17



  7. Code Block
    languagebash
    make



  8. Code Block
    languagebash
    make install



Code Block
languagebash
spack install mdsplus@7.96.17 %gcc@8.3.0