Skip to content

Commit 5a4de1d

Browse files
author
committed
Deployed ce4a0f0 with MkDocs version: 1.3.0
1 parent 01f14d6 commit 5a4de1d

5 files changed

Lines changed: 62 additions & 6 deletions

File tree

2022-isc22/installation/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2038,6 +2038,13 @@ <h3 id="python">Python<a class="headerlink" href="#python" title="Permanent link
20382038
<p>To check which Python version you have, use:</p>
20392039
<div class="highlight"><pre><span></span><code>python -V
20402040
</code></pre></div>
2041+
<div class="admonition note">
2042+
<p class="admonition-title">Note</p>
2043+
<p>It is possible that the <code>python</code> command is not available, which will trigger an error like:</p>
2044+
<div class="highlight"><pre><span></span><code>-bash: python: command not found
2045+
</code></pre></div>
2046+
<p>If that is the case, consider using the <code>python3</code> command (or similar) instead.</p>
2047+
</div>
20412048
<p><em>No additional Python packages are required by EasyBuild</em>, the ones that come with the standard
20422049
Python distribution are sufficient. Some additional Python packages <em>can</em> be leveraged for specific features.
20432050
More on that later.</p>
@@ -2330,7 +2337,7 @@ <h2 id="exercise">Exercise<a class="headerlink" href="#exercise" title="Permanen
23302337
<small>
23312338

23322339
Last update:
2333-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 18, 2022</span>
2340+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 27, 2022</span>
23342341

23352342

23362343
</small>

2022-isc22/module_naming_schemes/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,22 +2100,24 @@ <h3 id="configuring-easybuild_1">Configuring EasyBuild<a class="headerlink" href
21002100
<p>First of all, we need to make sure that EasyBuild is properly configured.
21012101
We can do this by defining this set of environment variables:</p>
21022102
<div class="highlight"><pre><span></span><code><span class="nb">export</span> <span class="nv">EASYBUILD_PREFIX</span><span class="o">=</span><span class="nv">$HOME</span>/easybuild
2103-
<span class="nb">export</span> <span class="nv">EASYBUILD_BUILDPATH</span><span class="o">=</span>/tmp/<span class="nv">$USER</span>
2103+
<span class="nb">export</span> <span class="nv">EASYBUILD_BUILDPATH</span><span class="o">=</span>/tmp/<span class="nv">$USER</span>/easybuild
21042104
<span class="nb">export</span> <span class="nv">EASYBUILD_INSTALLPATH_SOFTWARE</span><span class="o">=</span>/easybuild/software
21052105
<span class="nb">export</span> <span class="nv">EASYBUILD_MODULE_NAMING_SCHEME</span><span class="o">=</span>HierarchicalMNS
21062106
<span class="nb">export</span> <span class="nv">EASYBUILD_INSTALLPATH_MODULES</span><span class="o">=</span><span class="nv">$HOME</span>/hmns/modules
2107+
<span class="nb">export</span> <span class="nv">EASYBUILD_LOCKS_DIR</span><span class="o">=</span><span class="nv">$HOME</span>/easybuild/locks
21072108
</code></pre></div>
21082109
<p>To make sure we didn't make any silly mistakes, we double check using <code>eb --show-config</code>:</p>
21092110
<div class="highlight"><pre><span></span><code>$ eb --show-config
21102111
<span class="c1">#</span>
21112112
<span class="c1"># Current EasyBuild configuration</span>
21122113
<span class="c1"># (C: command line argument, D: default value, E: environment variable, F: configuration file)</span>
21132114
<span class="c1">#</span>
2114-
buildpath <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /tmp/example
2115+
buildpath <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /tmp/example/easybuild
21152116
containerpath <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /home/example/easybuild/containers
21162117
installpath <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /home/example/easybuild
21172118
installpath-modules <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /home/example/hmns/modules
21182119
installpath-software <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /easybuild/software
2120+
locks-dir <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /home/example/easybuild/locks
21192121
module-naming-scheme <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> HierarchicalMNS
21202122
packagepath <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /home/example/easybuild/packages
21212123
prefix <span class="o">(</span>E<span class="o">)</span> <span class="o">=</span> /home/example/easybuild
@@ -2327,7 +2329,7 @@ <h2 id="exercise">Exercise<a class="headerlink" href="#exercise" title="Permanen
23272329
<small>
23282330

23292331
Last update:
2330-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 19, 2022</span>
2332+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 27, 2022</span>
23312333

23322334

23332335
</small>

2022-isc22/practical_info/index.html

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,53 @@ <h2 id="slack">Slack<a class="headerlink" href="#slack" title="Permanent link">&
16111611
session.</p>
16121612
<p>You can self-request an invitation to join the EasyBuild Slack via
16131613
<a href="https://easybuild.io/join-slack">https://easybuild.io/join-slack</a>.</p>
1614+
<p>??? Reproducing the tutorial environment at home (after the workshop) "(click to show steps)"</p>
1615+
<pre><code>*Note:* These steps might differ on our system. Please reach out to us on Slack if you run into problems.
1616+
1617+
The prepared environment remains available during the conference. If after the conference
1618+
you want to go through the tutorial and try the exercises on your home system, you can follow
1619+
this procedure while working your way through the tutorial:
1620+
1621+
- [Install EasyBuild](installation.md). We recommend to use the
1622+
["Installing EasyBuild with EasyBuild" method](../installation/#method-2-installing-easybuild-with-easybuild),
1623+
but choosing a different directory for the `--prefix` argument. That directory should
1624+
then be used wherever `/easybuild` is used in the tutorial text.
1625+
1626+
Assume that the installation directory is stored in `$_PREFIX_`. The series of commands to install
1627+
EasyBuild and make the EasyBuild module available are
1628+
```shell
1629+
module unuse $MODULEPATH
1630+
export EB_TMPDIR=/tmp/$USER/eb_tmp
1631+
python3 -m pip install --ignore-installed --prefix $EB_TMPDIR easybuild
1632+
export PATH=$EB_TMPDIR/bin:$PATH
1633+
export PYTHONPATH=$(/bin/ls -rtd -1 $EB_TMPDIR/lib*/python*/site-packages | tail -1):$PYTHONPATH
1634+
export EB_PYTHON=python3
1635+
eb --install-latest-eb-release --prefix $_PREFIX_
1636+
module use $_PREFIX_/modules/all
1637+
```
1638+
The first line (the `module unuse` command) cleans the environment and assures that modules already
1639+
installed on the system will not screw up the installation that you intend to do.
1640+
1641+
Alternatively, when newer versions of EasyBuild are available than the version 4.5.4 used to prepare
1642+
this tutorial, the line with `eb --install-latest-eb-release` can be replaced with
1643+
```shell
1644+
eb EasyBuild-4.5.4.eb --prefix $_PREFIX_
1645+
```
1646+
to install the version of EasyBuild used for the preparation of this tutorial.
1647+
1648+
- Install the software needed for the tutorial in the same directory structure as EasyBuild.
1649+
This can be done in a single command (after loading the EasyBuild module). The workings of this command is explained in the
1650+
["Configuring EasyBuild"](configuration.md) and ["Basic usage of EasyBuild"](basic_usage.md)
1651+
sections:
1652+
```shell
1653+
module load EasyBuild
1654+
eb CMake-3.22.1-GCCcore-11.2.0.eb SciPy-bundle-2021.10-foss-2021b.eb --prefix $_PREFIX_ --robot
1655+
```
1656+
1657+
Note that the installation can take a few hours and that some steps require a lot of CPU time (e.g., the testing
1658+
done when installing SciPy), so you may not be able to do it on the login nodes of a cluster.
1659+
</code></pre>
1660+
<hr />
16141661
<hr />
16151662
<p><a href="../introduction/"><em>next: Introduction</em></a> - <a href="../"><em>(back to overview page)</em></a></p>
16161663

@@ -1619,7 +1666,7 @@ <h2 id="slack">Slack<a class="headerlink" href="#slack" title="Permanent link">&
16191666
<small>
16201667

16211668
Last update:
1622-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 12, 2022</span>
1669+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">May 27, 2022</span>
16231670

16241671

16251672
</small>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)