EasyBuild Reference
EasyBuild can install software on the HPCC relying on a huge library of on user-contributed recipes called EasyConfigs. This page collects some of the most useful commands and topics for using EasyBuild at ICER. See our tutorial to learn how to use EasyBuild.
Loading EasyBuild
EasyBuild is a module available on the HPCC. Make sure to remove all other modules before using it.
1 2 |
|
Configuration and options
Use the --show-config
option to see all of the configuration options and their values.
1 |
|
Any option can be changed by passing it as a command line argument when using
ebS
. Key examples are given below.
Software installation directory: --installpath-software
Set to the directory where the final software is installed (default: $HOME/.local/easybuild/software
).
Module directory: --installpath-module
Set to the directory where the software's module files are stored (default: $HOME/.local/easybuild/modules
).
Temporary build directory: --buildpath
Set to the directory the software is downloaded and compiled (default: $HOME/.local/easybuild/build
).
Warning
We highly recommend setting --buildpath=/tmp/$USER/EASYBUILD
so that you
don't download the temporary files to your home directory!
Number of cores allowed in parallel installation: --parallel
Set to the number of cores you wish to use (default: all cores on node)
Warning
When installing software on a development node, please use the --parallel
option to restrict your usage and ensure that the node stays usable for
other users. When in doubt, set --parallel=8
.
EasyConfigs
EasyConfigs are the recipes used to install software. There is a large collection (focusing on research software) already available on the HPCC contributed by many users and software developers across the world.
Searching with --search
or -M
Use the --search
or -S
option to eb
to find an EasyConfig available on the HPCC.
Example:
1 |
|
Viewing with --show-ec
Use the --show-ec
option to view an EasyConfig based on its name (not its full path).
Example:
1 |
|
Installing software
Run eb
with any options you wish to set followed by the name of the EasyConfig you wish to install.
Example:
1 |
|
Accessing installed software with the module
system
Add the location where your module files are installed (i.e., the value of
--installpath-modules
in your EasyBuild
configuration to your $MODULEPATH
with module use
so
modules can be found by further module
commands.
Note that EasyBuild adds an extra all
directory inside your
installpath-modules
that you should use with module use
:
Example:
input | |
---|---|
1 2 |
|
output | |
---|---|
1 2 3 4 5 6 |
|
input | |
---|---|
1 |
|