Skip to content

Commit

Permalink
deploy: 7e61b20
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Feb 23, 2024
1 parent 7d79ff7 commit a53fbcb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions _sources/computing/conda.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This will install conda to your home directory `~/miniconda3`.
To confirm it's successfully installed, do `$ conda --version` , and you will see something like `conda 4.14.0`.

```{note}
This works for Apple M1 chip. For more installing options (e.g. for Intel chip), see the [miniconda doc](https://docs.conda.io/en/latest/miniconda.html).
This works for Apple M series chips. For more installing options (e.g. for Intel chip), see the [miniconda doc](https://docs.conda.io/en/latest/miniconda.html).
```

:::
Expand All @@ -67,13 +67,11 @@ You can add the above line to your `~/.bashrc`. Then it will be automatically lo

```{warning}
This is not needed on your Mac; skip it.
This is optional on HPE DSI clusters, but it is good to do it.
```

### Changing environment directory

By default, if we create a new environment, it will be stored in the `$HOME` directory (e.g. `/home/<username>/.conda/envs`).
On HPE DSI clusters, by default, if we create a new environment, it will be stored in the `$HOME` directory (e.g. `/home/<username>/.conda/envs`).
Conda environments can sometimes get quite big, but each of us only has a quota of 10G for `$HOME`. This can easily lead to out-of-quota problem. We can change the default environment directory to avoid this.

You should have access to our group project directory, i.e. `/project/wen`, which has a much larger disk quota. We will configure conda to store environments there.
Expand Down
5 changes: 2 additions & 3 deletions computing/conda.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ <h2>Installation<a class="headerlink" href="#installation" title="Link to this h
To confirm it’s successfully installed, do <code class="docutils literal notranslate"><span class="pre">$</span> <span class="pre">conda</span> <span class="pre">--version</span></code> , and you will see something like <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">4.14.0</span></code>.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This works for Apple M1 chip. For more installing options (e.g. for Intel chip), see the <a class="reference external" href="https://docs.conda.io/en/latest/miniconda.html">miniconda doc</a>.</p>
<p>This works for Apple M series chips. For more installing options (e.g. for Intel chip), see the <a class="reference external" href="https://docs.conda.io/en/latest/miniconda.html">miniconda doc</a>.</p>
</div>
</div>
<input id="sd-tab-item-1" name="sd-tab-set-0" type="radio">
Expand All @@ -507,11 +507,10 @@ <h2>Changing default conda settings<a class="headerlink" href="#changing-default
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is not needed on your Mac; skip it.</p>
<p>This is optional on HPE DSI clusters, but it is good to do it.</p>
</div>
<section id="changing-environment-directory">
<h3>Changing environment directory<a class="headerlink" href="#changing-environment-directory" title="Link to this heading">#</a></h3>
<p>By default, if we create a new environment, it will be stored in the <code class="docutils literal notranslate"><span class="pre">$HOME</span></code> directory (e.g. <code class="docutils literal notranslate"><span class="pre">/home/&lt;username&gt;/.conda/envs</span></code>).
<p>On HPE DSI clusters, by default, if we create a new environment, it will be stored in the <code class="docutils literal notranslate"><span class="pre">$HOME</span></code> directory (e.g. <code class="docutils literal notranslate"><span class="pre">/home/&lt;username&gt;/.conda/envs</span></code>).
Conda environments can sometimes get quite big, but each of us only has a quota of 10G for <code class="docutils literal notranslate"><span class="pre">$HOME</span></code>. This can easily lead to out-of-quota problem. We can change the default environment directory to avoid this.</p>
<p>You should have access to our group project directory, i.e. <code class="docutils literal notranslate"><span class="pre">/project/wen</span></code>, which has a much larger disk quota. We will configure conda to store environments there.</p>
<p>First, create a directory under your username.</p>
Expand Down
Loading

0 comments on commit a53fbcb

Please sign in to comment.