Table of Contents | ||
---|---|---|
|
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:
- GCC v8.3.0
- Perl v5
- GNU Autoconf v2.69
- GNU Automake v1.15
- Cmake v.3.20.6
- Python v3.7.10
- Cython 0.29.23
- Java Development Kit v1.8.0_111
- Intel Parallel Studio XE 2020
- Git v2.17.0
- Saxon v9
- Blitz++ v1.0.2
- MdsPlus v7.96.15
Table of Contents | ||||
---|---|---|---|---|
|
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 language bash 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 way Using Spack Code Block language bash cd ~/public/temp
Code Block language bash wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
Code Block language bash tar -xf automake-1.15.tar.gz
...
Code Block language bash cd automake-1.15
In this tutorial directory path is "~/public/switm/automake/1.15"
Code Block language bash # ./configure --prefix=<directory_path> ./configure --prefix=~/public/switm/automake/1.15
Code Block language bash make
Code Block language bash make install
Code Block language bash spack install automake@1.15 %gcc@8.3.0
Cmake v.3.20.6
Normal way Using Spack
...
Code Block language bash cd ~/public/temp
Code Block language bash wget https://
...
github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6.tar.gz
Code Block language bash tar -xf
...
cmake-
...
3.20.
...
6.tar.gz
Code Block language bash cd
...
cmake-3.20.6.tar.gz
In this tutorial directory path is "~/public/switm/cmake/3.20.6"
Code Block language bash # ./configure --prefix=<directory_path>
...
./configure --prefix=~/public/switm/cmake/3.20.6
Code Block language bash make
Code Block language bash make install
Code Block language bash spack install cmake@3.20.6 %gcc@8.3.0
Python v3.7.10
Normal way Using Spack Code Block language bash cd ~/public/temp
Code Block language bash wget https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz
Code Block language bash tar -xf Python-3.7.10.tgz
Code Block language bash cd Python-3.7.10.tgz
In this tutorial directory path is "~/public/switm/
...
python/
...
3.7.
...
10"
Code Block language bash # ./configure --prefix=<directory_path> ./configure --prefix=~/public/switm/
...
python/
...
3.7.
...
10
Code Block language bash make
...
Code Block language bash make install
...
Code Block language bash spack install python@3
...
.7.10
Cython 0.29.23
Normal way Using Spack Code Block language bash cd ~/public/temp
Code Block language bash wget https://files.pythonhosted.org/packages/source/c/cython/Cython-0.29.23.tar.gz
Code Block language bash tar -xf Cython-0.29.23.tar.gz
Code Block language bash cd Cython-0.29.23.tar.gz
In this tutorial directory path is "~/public/switm/cython/0.29.23"
Code Block language bash python setup.py install --prefix=~/public/switm/cython/0.29.23
Code Block language bash 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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
module load git/2.17 |
Saxon v9
Normal way | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Blitz++ v1.0.2
Normal way | Using Spack | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||||||||||||||||||||||||||||||||||||
MdsPlus v7.96.17
Normal way | Using Spack | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
|
| ||||||||||||||||||||||||||||||||||||