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:
Code Block |
---|
language | bash |
---|
title | Directory Structure |
---|
|
$HOME
├── public
│ ├── modules
│ ├── swimas
│ ├── switm
│ └── temp |
where:
modules
- is the location of the modulefiles
needed to install the IMAS
environment and its dependenciesswimas
- is the location where the IMAS itself will be installedswitm
- is the location where all needed dependencies will be installedtemp
- is the directory used for temporary files like source codes and can be removed after successful installation
Dependencies
Info |
---|
|
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:
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 |
---|
|
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:
Code Block |
---|
|
cd ~/public/temp |
Code Block |
---|
|
wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz |
Code Block |
---|
|
tar -xf automake-1.15.tar.gz |
Code Block |
---|
|
cd automake-1.15 |
Code Block |
---|
|
# ./configure --prefix=<directory_path>, for this tutorial directory_path is "~/public/switm/automake/1.15"
./configure --prefix=~/public/switm/automake/1.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