You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid adding the variables in the environment of every single command while
314
+
maintaining a clean shell environment, an alias can be defined as follows.
315
+
316
+
```shell
317
+
alias eb_devel='PYTHONPATH="${EB_DEVEL_ROOT}/easybuild-framework:${EB_DEVEL_ROOT}/easybuild-easyblocks:${PYTHONPATH}" EASYBUILD_ROBOT_PATHS="${EB_DEVEL_ROOT}/easybuild-easyconfigs/easybuild/easyconfigs" ${EB_DEVEL_ROOT}/easybuild-framework/eb'
318
+
```
319
+
320
+
With the alias defined, the command to install `ReFrame-4.3.3.eb` and its
321
+
dependencies now becomes the following:
322
+
323
+
```shell
324
+
eb_devel --robot ReFrame-4.3.3.eb
325
+
```
326
+
327
+
??? note "Controlling the robot search path in development instances"
328
+
329
+
There is no default value for the [robot search
330
+
path](/using-easybuild/#controlling_robot_search_path) in the development
331
+
instance. The robot search path is set explicitly using the
332
+
`EASYBUILD_ROBOT_PATHS` environment variable. As a result, expect that some
333
+
features of the `EASYBUILD_ROBOT_PATHS` and its accompanying command line
334
+
option, `--robot-paths` will not work with `eb_devel`, the alias for the
335
+
EasyBuild development version.
336
+
337
+
For instance,
338
+
339
+
- you cannot use `EASYBUILD_ROBOT_PATHS` to set the robot path as it is
340
+
overridden in the alias `eb_devel`, and
341
+
- you cannot append to the default robot search path, with `--robot-paths`,
342
+
as it overrides the `EASYBUILD_ROBOT_PATHS` environment option.
343
+
344
+
As a workaround,
345
+
346
+
- use `--robot-paths` to override the robot search path set via the alias, and
347
+
- use the environment variable `EASYBUILD_ROBOT_PATHS` to access the
348
+
the robot search path set by the alias so that you can append to it.
349
+
350
+
For instance to append to the development robot search path, use the
0 commit comments