This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hpc:install_easybuild:install_easybuild [2020/02/03 20:54] miriel@uclv |
hpc:install_easybuild:install_easybuild [2020/04/10 17:38] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
- only EasyBuild versions prior to v4.0 require vsc-base. See [[https://easybuild.readthedocs.io/en/latest/Installation.html#required-python-packages-eb3|required Python packages for older EasyBuild versions]] | - only EasyBuild versions prior to v4.0 require vsc-base. See [[https://easybuild.readthedocs.io/en/latest/Installation.html#required-python-packages-eb3|required Python packages for older EasyBuild versions]] | ||
- | * modules tool: Tcl(/C) environment modules or Lmod, see [[https://easybuild.readthedocs.io/en/latest/Installation.html#required-modules-tool|Required modules tool]] for more details | + | * modules tool: Tcl(/C) environment modules or Lmod, see [[https://easybuild.readthedocs.io/en/latest/Installation.html#required-modules-tool|Required modules tool]] for more details. See too [[hpc:lmod|Install Lmod]] |
+ | ====== Install ====== | ||
+ | Easybuild cannot be installed with the root user, for this reason it is necessary to create a user account that will take care of using it | ||
+ | To create the user account do the following: | ||
+ | <code> | ||
+ | adduser easybuild | ||
+ | </code> | ||
+ | Now it is necessary to execute the Easybuild installation process with the user created previously. | ||
+ | <code> | ||
+ | su - easybuild | ||
+ | </code> | ||
+ | <code> | ||
+ | EASYBUILD_PREFIX=$HOME/.local/easybuild | ||
+ | |||
+ | # download script | ||
+ | curl -O https://raw.githubusercontent.com/easybuilders/easybuild-framework/develop/easybuild/scripts/bootstrap_eb.py | ||
+ | |||
+ | # bootstrap EasyBuild | ||
+ | python bootstrap_eb.py $EASYBUILD_PREFIX | ||
+ | |||
+ | # update $MODULEPATH, and load the EasyBuild module | ||
+ | module use $EASYBUILD_PREFIX/modules/all | ||
+ | module load EasyBuild | ||
+ | </code> |