...
This simple mechanism will be replaced with a more complex one, where receipts would be maintained in GIT repositories.
Downloading configuration (EB) files
Source SDCC: /work/imas/opt/EasyBuild/ebfiles_repo/
Code Block | ||||
---|---|---|---|---|
| ||||
rsync -av --delete -e "ssh -J <user>@sdcc-login.iter.org" <user>@sdcc-login02.iter.org:/work/imas/opt/EasyBuild/ebfiles_repo/ ./iter-receipts/ |
System variable EASYCONFIGS_PATH
Set system variable variable EASYCONFIGS_PATH
that points to the directory with receipts
Code Block | ||||
---|---|---|---|---|
| ||||
export EASYCONFIGS_PATH=`pwd`/iter-receipts |
Installation of software components
Searching for receipts
EasyBuild needs a receipt to install any software component. The following command can be used to look for receipts:
...
Code Block |
---|
<software name>-<software version>-<toolchain>-<toolchain version> e.g.: Doxygen-1.9.8-GCCcore-13.2.0.eb |
Installation
...
process
Code Block | ||||
---|---|---|---|---|
| ||||
eb <receipt name>.eb --allow-modules-tool-mismatch --robot=$EASYCONFIG_PATHS e.g.: eb IMAS-AL-Cpp-5.2.0dev-foss-2020b-DD-3.40.1.eb --allow-modules-tool-mismatch --Doxygen-1.9.8-GCCcore-13.2.0.eb --robot --robot-paths=$EASYCONFIGS_PATHS |
...
Code Block | ||||
---|---|---|---|---|
| ||||
module use {prefix}/modules/all
module load IMAS-AL-Cpp/5.2.0dev-foss-2020b-DD-3.40.1
module load IMAS-AL-Fortran/5.2.0dev-foss-2020b-DD-3.40.1
module load IMAS-AL-Java/5.2.0dev-foss-2020b-Java-11-DD-3.40.1
module load IMAS-AL-Python/5.2.0dev-foss-2020b-DD-3.40.1 |
How it works
...
/ |
...
5.2.0dev-foss-2020b-DD-3.40.1 |
...
--installpath-modules=/gw/swimas/easybuild/etc --use-existing-modules --ignore-checksums
...