2
2
3
3
EasyBuild is Python software, so there are a couple of ways to install it.
4
4
5
- We recommend installing EasyBuild using ` pip ` . This method is described at :ref: ` pip ` .
5
+ We recommend installing EasyBuild using ` pip ` . This method is described at [ Using pip to Install EasyBuild ] [ pip ] .
6
6
7
7
It is also possible to install EasyBuild as a module. To do this,
8
- use the 3-step procedure outlined at :ref: ` eb_as_module ` .
8
+ use the 3-step procedure outlined at [ Installing EasyBuild with EasyBuild ] [ eb_as_module ] .
9
9
10
- Do take into account the required and optional dependencies (see :ref: ` requirements ` and :ref: ` dependencies ` ).
10
+ Do take into account the required and optional dependencies (see [ Requirements ] [ requirements ] and [ Dependencies ] [ dependencies ] ).
11
11
12
- Notes on other ways of installing EasyBuild are available under section :ref: ` alt_inst_methods ` .
12
+ Notes on other ways of installing EasyBuild are available under section [ Alternative installation methods ] [ alt_inst_methods ] .
13
13
14
14
15
15
## Requirements {: #requirements }
@@ -23,13 +23,13 @@ The only strict requirements are:
23
23
* ** note** : only EasyBuild v4.0 (or newer) is compatible with Python 3, earlier EasyBuild releases require Python 2
24
24
* no Python packages other than the ones included in the Python standard library are strictly required
25
25
* ** note** : only EasyBuild versions prior to v4.0 require ` vsc-base ` (& ` vsc-install ` ),
26
- see also :ref: ` required_python_packages_eb3 `
27
- * for some specific features, additional Python packages are needed though, see :ref: ` optional_python_packages `
26
+ see also [ Required Python packages for older EasyBuild versions ] [ required_python_packages_eb3 ]
27
+ * for some specific features, additional Python packages are needed though, see [ Optional Python packages ] [ optional_python_packages ]
28
28
* a ** modules tool** : Tcl(/C) environment modules or Lmod
29
29
* the actual module command/script (` modulecmd ` , ` modulecmd.tcl ` or ` lmod ` ) * must* be available via ` $PATH `
30
- * see :ref: ` required_modules_tool ` for more details
30
+ * see [ Required modules tool ] [ required_modules_tool ] for more details
31
31
32
- For more information on (optional) dependencies, see :ref: ` dependencies ` .
32
+ For more information on (optional) dependencies, see [ Dependencies ] [ dependencies ] .
33
33
34
34
35
35
## Using pip to Install EasyBuild {: #pip }
@@ -43,7 +43,7 @@ Install EasyBuild with:
43
43
pip install easybuild
44
44
```
45
45
46
- You may need to tweak this command a bit, depending on your setup, see :ref: ` more_pip ` .
46
+ You may need to tweak this command a bit, depending on your setup, see [ Additional pip install options ] [ more_pip ] .
47
47
48
48
!!! note
49
49
There are various other ways of installing Python packages, which we won't cover here.
@@ -74,7 +74,7 @@ This is EasyBuild 4.4.0 (framework: 4.4.0, easyblocks: 4.4.0) on host example.lo
74
74
with respect to what is the version being loaded by default.
75
75
76
76
You can also run ` eb --show-system-info ` to see system information relevant to EasyBuild,
77
- or run` eb --show-config ` to see the default EasyBuild configuration (see also :ref: ` configuring_easybuild ` ).
77
+ or run` eb --show-config ` to see the default EasyBuild configuration (see also [ Configuring EasyBuild ] [ configuring_easybuild ] ).
78
78
79
79
80
80
### Updating an existing EasyBuild installation {: #updating }
@@ -112,7 +112,7 @@ For the `pip` install, you may wish to slightly change this command depending on
112
112
(for example, ` $HOME/tools ` or ` /tmp/$USER ` ).
113
113
114
114
Keep in mind that you may need to update your environment too when using ` --user ` or ` --prefix ` ,
115
- see :ref: ` more_pip_env ` .
115
+ see [ Updating your environment ] [ more_pip_env ] .
116
116
117
117
118
118
@@ -137,7 +137,7 @@ python3.6 -m pip install easybuild
137
137
```
138
138
139
139
Note that you may also need to instruct the ` eb ` command to use the correct Python version at runtime,
140
- via ` $EB_PYTHON ` (see :ref: ` more_pip_env_EB_PYTHON ` ).
140
+ via ` $EB_PYTHON ` (see [ Setting $EB_PYTHON ] [ more_pip_env_EB_PYTHON ] ).
141
141
142
142
143
143
### Updating your environment {: #more_pip_env }
@@ -243,7 +243,7 @@ you can consider installing EasyBuild with EasyBuild. This can be done in 3 step
243
243
### Step 1: Installing EasyBuild into a temporary location {: #eb_as_module_step1 }
244
244
245
245
If you don't have EasyBuild installed yet, you need to install it in a temporary location first.
246
- The recommended way of doing this is using :ref: ` pip ` .
246
+ The recommended way of doing this is [ using pip to install EasyBuild ] [ pip ] .
247
247
248
248
For example, to install EasyBuild into a subdirectory ` /tmp/$USER ` using the default Python 3 version:
249
249
@@ -280,8 +280,9 @@ eb --install-latest-eb-release --prefix $HOME/easybuild
280
280
281
281
### Step 3: Loading the EasyBuild module {: #eb_as_module_step3 }
282
282
283
- Once :ref:` eb_as_module_step2 ` is completed, you should be able to load the module that was generated alongside
284
- the EasyBuild installation. You will need to do this every time you start a new shell session.
283
+ Once [ Step 2: Using EasyBuild to install EasyBuild] [ eb_as_module_step2 ] is completed, you should be able to
284
+ load the module that was generated alongside the EasyBuild installation. You will need to do this every time
285
+ you start a new shell session.
285
286
286
287
First, make the module available by running the following command (which will update the module search path
287
288
environment variable ` $MODULEPATH ` ):
@@ -290,7 +291,7 @@ environment variable `$MODULEPATH`):
290
291
module use _PREFIX_/modules/all
291
292
```
292
293
293
- ** Replace** ` _PREFIX_ ` with the path to the directory that you used when running :ref: ` eb_as_module_step2 `
294
+ ** Replace** ` _PREFIX_ ` with the path to the directory that you used when running [ Step 2: Using EasyBuild to install EasyBuild ] [ eb_as_module_step2
294
295
(for example, ` $HOME/easybuild ` ).
295
296
296
297
Then, load the EasyBuild module to update your environment and make EasyBuild available for use:
@@ -312,15 +313,15 @@ EasyBuild has a couple of dependencies, some are optional.
312
313
### Required dependencies {: #required_dependencies }
313
314
314
315
* a ** GNU/Linux** distribution as operating system
315
- * some common shell tools are expected to be available, see :ref: ` required_shell_tools `
316
+ * some common shell tools are expected to be available, see [ Required shell tools ] [ required_shell_tools ]
316
317
* [ Python] ( https://python.org ) :
317
318
* Python 2.7, or Python 3.x (>= 3.5);
318
319
* since [ Python 2 is end-of-life] ( https://www.python.org/doc/sunset-python-2/ ) we strongly recommend
319
320
using Python 3 if it is available;
320
321
* no third-party Python packages are strictly required (the Python standard library is sufficient);
321
- * for some * specific* EasyBuild features additional Python packages are required however, see :ref: ` optional_python_packages ` ;
322
+ * for some * specific* EasyBuild features additional Python packages are required however, see [ Optional Python packages ] [ optional_python_packages ] ;
322
323
* a ** modules tool** : Tcl(/C) environment modules or Lmod
323
- * the actual modules tool * must* be available via ` $PATH ` , see :ref: ` required_modules_tool `
324
+ * the actual modules tool * must* be available via ` $PATH ` , see [ Required modules tool ] [ required_modules_tool ]
324
325
* a C/C++ compiler (e.g., ` gcc ` and ` g++ ` )
325
326
* only required to build and install GCC with, or as a dependency for the Intel compilers, for example
326
327
@@ -384,9 +385,9 @@ Additional notes:
384
385
(` lua-posix ` , ` lua-filesystem ` ) to be available
385
386
* Tcl (` tclsh ` ) must also be available for Lmod to support module files in ` Tcl ` syntax
386
387
* a guide to installing Tcl/C environment modules without having root
387
- permissions is available at :ref: ` installing_env_mod_c ` .
388
+ permissions is available at [ Installing environment modules without root permissions ] [ installing_env_mod_c ] .
388
389
* a guide to installing Lmod without having root permissions is available at
389
- :ref: ` installing_lmod ` .
390
+ [ Installing Lmod without root permissions ] [ installing_lmod ] .
390
391
391
392
392
393
#### Required Python packages {: #required_python_packages }
@@ -415,7 +416,7 @@ For EasyBuild versions prior to version 4.0, a couple of additional Python packa
415
416
consumes the ` setup.py ` script that comes with the EasyBuild framework (e.g., EasyBuild or the EasyBuild
416
417
bootstrap script, ` pip ` , ` easy_install ` , ...)
417
418
418
- Other Python packages are optional dependencies, see :ref: ` optional_python_packages ` .
419
+ Other Python packages are optional dependencies, see [ Optional Python packages ] optional_python_packages] .
419
420
420
421
### Optional dependencies
421
422
@@ -425,22 +426,22 @@ Some dependencies are optional and are only required to support certain features
425
426
#### Optional Python packages {: #optional_python_packages }
426
427
427
428
* [ GC3Pie] ( https://pypi.org/project/gc3pie ) , only needed when using ` GC3Pie ` as a backend for ` --job ` ,
428
- see also :ref: ` submitting_jobs ` ;
429
+ see also [ Submitting jobs using --job ] [ submitting_jobs ] ;
429
430
* [ GitPython] ( http://gitorious.org/git-python ) , only needed if
430
431
EasyBuild is hosted in a git repository or if you’re using a git
431
432
repository for easyconfig files (.eb);
432
433
* [ graphviz for Python] ( https://pypi.python.org/pypi/graphviz ) ,
433
434
only needed for building nice-looking dependency graphs using ` --dep-graph *.pdf / *.png ` ;
434
435
* [ keyring] ( https://pypi.org/project/keyring ) , only needed for securely storing a GitHub token
435
- (see :ref: ` integration_with_github ` );
436
+ (see [ Integration with GitHub ] [ integration_with_github ] );
436
437
* [ pycodestyle] ( https://pypi.org/project/pycodestyle ) ,
437
438
only required for ` --check-style ` and ` --check-contrib ` ;
438
439
* [ pysvn] ( http://pysvn.tigris.org/ ) , only needed if you’re using an
439
440
SVN repository for easyconfig files;
440
441
* [ python-graph-dot] ( https://pypi.python.org/pypi/python-graph-dot/ ) ,
441
442
only needed for building nice-looking dependency graphs using ` --dep-graph *.dot `
442
443
* [ Rich] ( https://pypi.org/project/rich/ ) ,
443
- only needed to let ` eb ` produce rich output, like :ref: ` progress_bars ` ;
444
+ only needed to let ` eb ` produce rich output, like [ Progress bars ] [ progress_bars ] ;
444
445
445
446
## Sources
446
447
0 commit comments