You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

How to install easybuild  


Install Easybuild

module load itm-python/3.10

python -m venv venv
source venv/bin/activate
pip install easybuild


Configuring easybuild 

$HOME/.config/easybuild/configure.txt
[config]
prefix=/pfs/work/g2pbloch/imasenv_eb
modules-tool=EnvironmentModulesC
module-syntax=Tcl
[override]
insecure-download=True

Change prefix to path where do you want your installation.


Create secret.txt  file in $HOME/.config/easybuild/ and paste HTTPS ACESS TOKEN  to ITER  repo.

secret.txt
Authorization: Bearer <token>


Downloading files

The configuration is located in the file $HOME/.config/easybuild/config.cfg. Set the prefix path to the directory where the installation should be performed. In the prefix directory, clone the repository https://gitlab.eufus.psnc.pl/g2pbloch/easybuild so that the files are placed in the eb_files_repo directory. In the prefix directory, clone the repository https://gitlab.eufus.psnc.pl/g2pbloch/easybuild-imas-files and enter it. 



installation of IMAS

start the IMAS installation:

IMAS install
eb IMAS-AL-Cpp/IMAS-AL-Cpp-5.2.0dev-foss-2020b-DD-3.40.1.eb --allow-modules-tool-mismatch --robot=/pfs/work/g2pbloch/test_instruction/easybuild-imas-files:/pfs/work/g2pbloch/test_instruction/eb_files_repo --http-header-fields-urlpat=$HOME/.config/easybuild/secret.txt

How it works:

  • eb - EasyBuild
  • IMAS-AL-Cpp/IMAS-AL-Cpp-5.2.0dev-foss-2020b-DD-3.40.1.eb - path to EasyBuild configuration file

  • --allow-modules-tool-mismatch - flag
  • --robot - paths to configuration files
  • --http-header-fields-urlpat - secret to downloading files from ITER repo

useful tips 

  • If you have compilation problems try adding the --parallel=1  option
  • No labels