Skip to content
Snippets Groups Projects
Commit 8cdfbd80 authored by Jakub Kropáček's avatar Jakub Kropáček Committed by Jakub Kropáček
Browse files

Add EasyBuild configuration chapter

parent 65e3b297
No related branches found
No related tags found
No related merge requests found
Pipeline #29368 passed with warnings
......@@ -436,6 +436,49 @@ Job ID Username Queue Jobname S
1319314.isrv5 username qprod git-2.11.0-GNU- 85605 1 16 -- 24:00 R 00:00:17
```
## Advanced EasyBuild Configuration
By creating the `~/.config/easybuild/config.cfg` file, you can easily specify the desired location of your software, CUDA compute capabilities, and other options that you would usually have to specify within your easyconfig or from the command line. To get an overview of all available options, use `eb --confighelp` command.
You can use our template to set all of the usual EasyBuild variables:
```console
[MAIN]
[basic]
locks-dir=EASYBUILD_ROOT/.locks/
robot=/apps/easybuild/easyconfigs-it4i:/apps/easybuild/easyconfigs-master/easybuild/easyconfigs:/apps/easybuild/easyconfigs-develop/easybuild/easyconfigs
robot-paths=/apps/easybuild/easyconfigs-it4i:/apps/easybuild/easyconfigs-master/easybuild/easyconfigs:/apps/easybuild/easyconfigs-develop/easybuild/easyconfigs
[config]
buildpath=/dev/shm/USER/build
installpath=EASYBUILD_ROOT
installpath-modules=EASYBUILD_ROOT/modules
installpath-software=EASYBUILD_ROOT/all
moduleclasses=python
repository=FileRepository
repositorypath=EASYBUILD_ROOT/file-repository
sourcepath=EASYBUILD_ROOT/sources
[easyconfig]
local-var-naming-check=error
[override]
# 8.0 for Karolina, 7.0 for Barbora
cuda-compute-capabilities=CUDA_CC
detect-loaded-modules=purge
enforce-checksums=True
silence-deprecation-warnings=True
trace=True
```
!!! note
Do not forget to add the path to your modules to MODULEPATH using the `module use` command in your `~/.bashrc` to be able to lookup and use your installed modules.
Template requires you to fill in the `EASYBUILD_ROOT`, `CUDA_CC`, and `USER` variables. `EASYBUILD_ROOT` is the top level directory which will hold all of your EasyBuild related data. `CUDA_CC` defines the CUDA compute capabilities of graphics cards, and `USER` should preferably be set to your username.
If you plan on writing more than one or two of your own easyconfigs, it might be useful to setup a custom easyconfig repository. Simply prepend it's path to the `robot` and `robot-paths` variables.
[a]: https://code.it4i.cz/sccs/easyconfigs-it4i
[b]: http://easybuild.readthedocs.io
[c]: https://github.com/hpcugent/easybuild/wiki/Compiler-toolchains
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment