Versions Compared

Key

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

...

This tutorial shows how to install IMAS (after repository split) using EasyBuild. The installation in this tutorial will be performed on the Gateway cluster but it can be done anywhere.

Install EasyBuild

You should install EasyBuild using Python and venv (virtual environment).

Code Block
languagebash
titleInstall EasyBuild using Python
module load itm-python/3.10.13
python3 -m venv venv
module purge
source venv/bin/activate
pip3 install easybuild

You can use a different version of Python. Remember to purge all unnecessary modules that can cause conflicts with new modules created by EasyBuild.

...

EasyBuild: Installation 


EasyBuild: Configuration

To enable access to ITER GIT repositories HTTP access token is required.

  • Go to ITER  Bitbucket (https://git.iter.org).
  • "Manage Account" - press user icon (upper right corner)
  • "Http Access Token"
  • "Create Token"
  • Copy token to clipboard
  • Create a secret.txt  file in $HOME/.config/easybuild/ and paste the access token there
Code Block
languagetext
titlesecret.txt
Authorization: Bearer <token>

The configuration is located in the file $HOME/.config/easybuild/config.cfg. Create this file if it doesn't exist.

Code Block
title$HOME/.config/easybuild/config.cfg
# System variables cannot be used in EB config file!!! 
# Do not put string values in quotes !!! 

[config]
prefix=/pfs/work/g2pbloch/imasenv_eb
modules-tool=EnvironmentModulesC
module-syntax=Tcl
http-header-fields-urlpat=^https://git.iter.org::<path to config dir>/.config/easybuild/secret.txt

[override]
insecure-download=True

Change the prefix to the path where do you want your installation.


Downloading configuration (EB) files

...