@@ -56,9 +56,11 @@ The Python packages that the system depends on are installed in conda environmen
56
56
57
57
.. note ::
58
58
In Mar-2022 the Python environment and package management tool used for the system
59
- was changed from Miniconda3 to `Mambaforge-pypy3 `_.
59
+ was changed from Miniconda3 to Mambaforge-pypy3.
60
+ In Oct-2024 it was changed again to `Miniforge-pypy3 `_ to reflect the merge of
61
+ Mambaforge into Miniforge and the deprecation of mambaforge in Jul-2024.
60
62
61
- .. _ Mambaforge -pypy3 : https://github.com/conda-forge/miniforge
63
+ .. _ Miniforge -pypy3 : https://github.com/conda-forge/miniforge
62
64
63
65
For the ``SalishSeaCast `` automation system:
64
66
@@ -106,7 +108,7 @@ For the `salishsea-site web app`_ that is mounted at https://salishsea.eos.ubc.c
106
108
$ mamba env create \
107
109
--prefix /SalishSeaCast/salishsea-site-env \
108
110
-f salishsea-site/envs/environment-prod.yaml
109
- $ conda activate /SalishSeaCast/salishsea-site-env
111
+ $ mamba activate /SalishSeaCast/salishsea-site-env
110
112
(/SalishSeaCast/salishsea-site-env) $ python3 -m pip install --editable salishsea-site/
111
113
112
114
@@ -163,7 +165,7 @@ and :command:`unset` them when it is deactivated.
163
165
164
166
The :file:` /SalishSeaCast/sarracenia-env` environment variables are included in the
165
167
:file:` SalishSeaNowcast/envs/environment-sarracenia.yaml` file so that they are managed by
166
- :command:` conda ` to automatically :command:` export` the environment variables required by the
168
+ :command:` mamba ` to automatically :command:` export` the environment variables required by the
167
169
sarracenia client when the environment is activated and :command:` unset` them when the
168
170
environment is deactivated.
169
171
To see the variables and their values:
@@ -172,7 +174,7 @@ To see the variables and their values:
172
174
173
175
$ cd /SalishSeaCast/sarracenia-env
174
176
$ source activate /SalishSeaCast/salishsea-site-env
175
- (/SalishSeaCast/salishsea-site-env) $ conda env config vars list
177
+ (/SalishSeaCast/salishsea-site-env) $ mamba env config vars list
176
178
177
179
178
180
:file:` /SalishSeaCast/salishsea-site-env`
@@ -353,7 +355,7 @@ and its dashboard port on 4387:
353
355
354
356
.. code-block:: bash
355
357
356
- $ conda activate /SalishSeaCast/nowcast-env
358
+ $ mamba activate /SalishSeaCast/nowcast-env
357
359
(/SalishSeaCast/nowcast-env)$ dask scheduler --port 4386 --dashboard-address :4387
358
360
359
361
Use :kbd:` Control-b ,` to rename the :program:` tmux` terminal to ` ` dask-scheduler` ` .
@@ -370,7 +372,7 @@ and launch the 4 :command:`dask worker` processes with these properties:
370
372
371
373
.. code-block:: bash
372
374
373
- $ conda activate /SalishSeaCast/nowcast-env
375
+ $ mamba activate /SalishSeaCast/nowcast-env
374
376
(/SalishSeaCast/nowcast-env)$ dask worker --nworkers=4 --nthreads=1 --memory-limit 64G \
375
377
--local-directory /tmp/SalishSeaCast \
376
378
--lifetime 3600 --lifetime-stagger 60 --lifetime-restart \
0 commit comments