Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
0. Define local module command (only once)
To utilize local modules, we suggest creating a bash command such as localmod
that contains essential setup within your $HOME/.bashrc
. The provided set of commands below will create a local module directory based on LOCALMOD_DIR
and then define the localmod
command in your $HOME/.bashrc
.
...
Enable local module by executing the command defined in Step 0 →
localmod
Load EasyBuild →
module load EasyBuild
Check your current EasyBuild configuration →
eb --show-config
.
The Note: theinstallpath
should be set to a local directory that you have write permission.
...
Execute
eb -D --robot-paths=$(pwd) <the-eb-file>.eb
to do a short dry run and check for dependencies.If the command run successfully, it will display build status of the software’s dependencies.
(You could ignore warning likeWARNING: Failed to determine toolchain hierarchy for ...
)On the other hand, if you get
ERROR: Missing dependencies: xxx/yyy-zzz
, this means that the EasyConfig file of the library/software namexxx
with versionyyy
using toolchainzzz
is missing. You need to get the EasyConfig file for the dependencyxxx/yyy-zzz
by doing Step 2 and 3 again. That is, you also need to repeatedly do Step 2 and 3 for all unavailable dependencies required by the target software, and put them in the same directory.
To install the software, execute
Code Block language bash eb -r --robot-paths=$(pwd) --parallel=1 --trace --tmpdir=$(pwd) <the-eb-file>.eb
Expand | ||
---|---|---|
| ||
|
Note |
---|
Some software may not support parallel build; therefore, |
...