Versions Compared

Key

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

...

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

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

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

Code Block
languagetext
titlesecret.txt
Authorization: Bearer <token>

...

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. Clone the repository https://gitlab.eufus.psnc.pl/g2pbloch/easybuild-files and  https://gitlab.eufus.psnc.pl/g2pbloch/easybuild-imas-files and  specify the paths to them in the --robot  option.  


installation of

...

DD

start the IMAS installation ( in `easybuild-imas-files`):

Code Block
languagebash
titleIMAS install
eb Data-Dictionary/Data-Dictionary-3.40.1-GCCcore-10.2.0.eb --allow-modules-tool-mismatch --robot=/pfs/work/g2pbloch/test_instruction/easybuild-imas-files:/pfs/work/g2pbloch/test_instruction/eb_files_repo:/pfs/work/g2pbloch/test_instruction/easybuild-ies/ --http-header-fields-urlpat="^https://git.iter.org::$HOME/.config/easybuild/secret.txt"

Configuring path in IMAS files


After DD installation change path in this line in HLI easyconfigs to your  `$prefix`{prefix}/software/Data-Dictionary/3.40.1-GCCcore-10.2.0/dd_3.40.1/`:

...

In python configuration files IMAS-AL-Python, IMAS-AL-Python-Bindings  you have to change path  to python to $prefix${prefix}/software/Python/3.8.6-GCCcore-10.2.0/ 

installation of IMAS

Code Block
languagebash
titleIMAS
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/teseasybuild-imas-files:/pfs/work/g2pbloch/test_instruction/eb_files_repo:/pfs/work/g2pbloch/test_al5_eb/easybuild-easyconfigs/easybuild/easyconfigs/o/OpenBLAS:/pfs/work/g2pbloch/test_instruction/easybuild-ies/ --http-header-fields-urlpat="^https://git.iter.org::$HOME/.config/easybuild/secret.txt"
eb IMAS-AL-Fortran/IMAS-AL-Fortran-5.2.0dev-foss-2020b-DD-3.40.1.eb  --allow-modules-tool-mismatch --robot=/pfs/work/g2pbloch/teseasybuild-imas-files:/pfs/work/g2pbloch/test_instruction/eb_files_repo:/pfs/work/g2pbloch/test_al5_eb/easybuild-easyconfigs/easybuild/easyconfigs/o/OpenBLAS:/pfs/work/g2pbloch/test_instruction/easybuild-ies/ --http-header-fields-urlpat="^https://git.iter.org::$HOME/.config/easybuild/secret.txt" 
eb IMAS-AL-Java/IMAS-AL-Java-5.2.0dev-foss-2020b-Java-11-DD-3.40.1.eb  --allow-modules-tool-mismatch --robot=/pfs/work/g2pbloch/teseasybuild-imas-files:/pfs/work/g2pbloch/test_instruction/eb_files_repo:/pfs/work/g2pbloch/test_al5_eb/easybuild-easyconfigs/easybuild/easyconfigs/o/OpenBLAS:/pfs/work/g2pbloch/test_instruction/easybuild-ies/ --http-header-fields-urlpat="^https://git.iter.org::$HOME/.config/easybuild/secret.txt"   
eb IMAS-AL-Python/IMAS-AL-Python-5.2.0dev-foss-2020b-DD-3.40.1.eb  --allow-modules-tool-mismatch --robot=/pfs/work/g2pbloch/teseasybuild-imas-files:/pfs/work/g2pbloch/test_instruction/eb_files_repo:/pfs/work/g2pbloch/test_al5_eb/easybuild-easyconfigs/easybuild/easyconfigs/o/OpenBLAS:/pfs/work/g2pbloch/test_instruction/easybuild-ies/ --http-header-fields-urlpat="^https://git.iter.org::$HOME/.config/easybuild/secret.txt"  

...