...
- Easybuild is installed and publicly available via module system
- Your Easybuild configuration file exists and is properly configured
- IMAS related receipts are downloaded from all repositories their sources being used
All modules are purged and EasyBuild module is the only module loaded:
Code Block module purge module load EasyBuild
$EASYCONFIG_PATHS
system variable is set to point to all directories with easyconfig files- Your
TMP
directory is set up to use$ITMWORK
Easyconfigs
Sources of the receipts (aka 'easyconfig' files):
- EasyBuild built-in receipts
- EasyBuild receipts repository
- Gateway specific receipts
- 'Limbo' of the IMAS receipts
- ITER repository of the IMAS receipts
Downloading configuration (EB) files
...
Code Block | ||||
---|---|---|---|---|
| ||||
rsync -av --delete -e "ssh -J <user>@sdcc-login.iter.org" <user>@sdcc-login02.iter.org:/work/imas/opt/EasyBuild/ebfiles_repo/ ./all_iter/ |
Clone these repositories and specify the paths to them in the --robot
in the next step.
Code Block | ||||
---|---|---|---|---|
| ||||
export EASYCONFIGS_PATH=`pwd`/all_iter |
Info |
---|
Prepending or appending to the default robot search path is supported via the To prepend one or more paths, a list of paths followed by a ‘ Analogously, to append one or more paths, a list of paths preceded by a ‘ See EasyBuild documentation for details |
To enable dependency resolution, use the --robot
command line option (or -r
for short):
...
Preparing easyconfig files
To allow the users to seamlessly switch between EUROfusion and ITER clusters the environment that is built on the Gateway mimics (to some extent) the one of the ITER SDCC machines.
To achieve this a receipts from the ITER cluster are utilised to install software on the GW.
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/ |
Set system variable EASYCONFIGS_PATH
that points to the directory with receipts
Code Block | ||||
---|---|---|---|---|
| ||||
export EASYCONFIGS_PATH=`pwd`/iter-receipts |
Searching for receipts
EasyBuild needs a receipt to install any software component. The following command can be used to look for receipts:
Code Block |
---|
eb --search <software_name> --robot-paths=$EASYCONFIG_PATHS |
Info |
---|
See EasyBuild documentation for details and examples |
A <software_name>
could be only part of the name being searched. Additionally EasyBuild search is case insensitive. E.g. "dox"
string can be provided while looking for "Doxygen"
...
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 --robot --robot-paths=$EASYCONFIGS_PATHS |
...
Info |
---|
See EasyBuild documentation for details |
...