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:

$HOME
├── public
│   ├── modules
│   ├── swimas
│   ├── switm
│   └── temp

where:

 Dependencies

Remember to check with module avail <dependency-name> if a given package in a specific version is available in system installations, if so use module load <dependency-name>/<version> to use this installation. If not, follow the steps in the manual.


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:


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

module load jdk/1.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:

module load intel/pe-xe-2020--binary


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

module load git/2.17


Normal way

  1. cd ~/public/temp



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



  3. unzip -d source/ download.zip


Normal wayUsing Spack

  1. cd ~/public/temp



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



  3. unzip 1.0.2.zip



  4. cd blitz-1.0.2



  5. mkdir build && cd build


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

    cmake -DCMAKE_INSTALL_PREFIX=~/public/switm/blitz/1.0.2 ..



  7. make lib



  8. make install



spack install blitz@1.0.1 %gcc@8.3.0









Normal wayUsing Spack

  1. cd ~/public/temp



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



  3. unzip stable_release-7-96-17.zip



  4. cd mdsplus-stable_release-7-96-17/



  5. ./bootstrap


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

    ./configure --prefix=~/public/switm/mdsplus/7.96.17



  7. make



  8. make install



spack install mdsplus@7.96.17 %gcc@8.3.0