Skip to content

Commit dfd4564

Browse files
committed
Mambaforge -> Miniforge
1 parent 5e39ba2 commit dfd4564

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

devtools/conda-envs/lint_env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
# - myst-nb
1010
- sphinx-notfound-page
1111
- ipython >=8.8
12-
- sphinx-design
12+
- sphinx-design <0.6.1
1313
- gitpython
1414
- nbconvert
1515
- nbformat

source/_ext/proc_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def create_colab_notebook(src: Path, cache_branch: str):
165165
"# Execute this cell to make this notebook's dependencies available",
166166
"!pip install -U https://github.com/conda-incubator/condacolab/archive/cuda-version-12.tar.gz",
167167
"import condacolab",
168-
"condacolab.install_mambaforge()",
168+
"condacolab.install()",
169169
*wget_files,
170170
f"!mamba env update -q --name=base --file={PACKAGED_ENV_NAME}",
171171
"from google.colab import output",

source/install.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Installation
22

3-
OpenFF software is distributed via [Conda Forge], a repository of software packages maintained by the open source community. You need a Conda-compatible package manager to install Conda Forge software. OpenFF recommends [Mamba], installed via the [MambaForge] distribution.
3+
OpenFF software is distributed via [Conda Forge], a repository of software packages maintained by the open source community. You need a Conda-compatible package manager to install Conda Forge software. OpenFF recommends [Mamba], installed via the [Miniforge] distribution.
44

55
[Conda Forge]: https://conda-forge.org/
66
[Mamba]: inv:mamba#index
7-
[MambaForge]: https://github.com/conda-forge/miniforge#user-content-mambaforge
7+
[Miniforge]: https://github.com/conda-forge/miniforge#user-content-miniforge
88

99
(quick_install)=
1010
## Quick Install Guide
@@ -15,25 +15,25 @@ This guide describes how to install OpenFF software within your own user account
1515
If you have an existing Mamba installation, skip steps 1 and 2 below. If you have an existing Conda installation, see [](existing_conda).
1616
:::
1717

18-
1. Download the appropriate MambaForge installer from the [MambaForge repository]. Use [Mambaforge-MacOSX-x86_64] on a Mac and [Mambaforge-Linux-x86_64] on Linux/WSL.
18+
1. Download the appropriate Miniforge installer from the [Miniforge repository]. Use [Miniforge-MacOSX-x86_64] on a Mac and [Miniforge-Linux-x86_64] on Linux/WSL.
1919

20-
2. Run the MambaForge installer in a terminal window and accept the license agreement:
20+
2. Run the Miniforge installer in a terminal window and accept the license agreement:
2121

2222
```shell-session
23-
$ bash Mambaforge-$(uname)-x86_64.sh
23+
$ bash Miniforge-$(uname)-x86_64.sh
2424
```
2525
2626
1. When asked for an install destination, choose a directory owned by your user account (such as the default).
2727
28-
2. When asked if you'd like to initialize MambaForge, answer "yes". Note that this will modify your shell's startup script; for more information about this choice, see [](conda_init).
28+
2. When asked if you'd like to initialize Miniforge, answer "yes". Note that this will modify your shell's startup script; for more information about this choice, see [](conda_init).
2929
30-
3. Once the installer is finished, close the window and run the following command in a new terminal window:
30+
3. Once the installer is finished, close the window and run the following command in a new terminal window:
3131
3232
```shell-session
3333
$ conda config --set auto_activate_base false
3434
```
3535
36-
3. Close and reopen the terminal window and install the desired packages into a [new environment]. The names of OpenFF packages can be found in the [projects list]:
36+
3. Close and reopen the terminal window and install the desired packages into a [new environment]. The names of OpenFF packages can be found in the [projects list]:
3737
```shell-session
3838
$ mamba create -c conda-forge -n openff openff-toolkit-examples
3939
```
@@ -50,16 +50,16 @@ If you have an existing Mamba installation, skip steps 1 and 2 below. If you hav
5050
If that worked, you're all set! The rest of this page covers corner cases and how to manage Conda environments. For package-specific installation instructions, please see the individual [project docs].
5151
5252
:::{admonition} OpenFF on Windows
53-
We recommend installing MambaForge through WSL on Windows. For more information, see [](install_windows).
53+
We recommend installing Miniforge through WSL on Windows. For more information, see [](install_windows).
5454
:::
5555
5656
:::{admonition} OpenFF on Apple Silicon
57-
If you run into issues with upstream dependencies not supporting Apple Silicon, we recommend installing x86_64 MambaForge. For more information, see [](install_arm).
57+
If you run into issues with upstream dependencies not supporting Apple Silicon, we recommend installing x86_64 Miniforge. For more information, see [](install_arm).
5858
:::
5959
60-
[MambaForge repository]: https://github.com/conda-forge/miniforge#user-content-mambaforge
61-
[Mambaforge-MacOSX-x86_64]: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-MacOSX-x86_64.sh
62-
[Mambaforge-Linux-x86_64]: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
60+
[Miniforge repository]: https://github.com/conda-forge/miniforge#user-content-miniforge
61+
[Miniforge-MacOSX-x86_64]: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh
62+
[Miniforge-Linux-x86_64]: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
6363
6464
[new environment]: managing_environments
6565
[projects list]: projects
@@ -70,35 +70,35 @@ If you run into issues with upstream dependencies not supporting Apple Silicon,
7070
(install_mamba)=
7171
## Installing Mamba
7272
73-
Mamba is a drop-in replacement for the Conda package manager. It is faster and can sometimes find ways to safely install two pieces of software that Conda thinks have conflicting dependencies. MambaForge includes Mamba itself, as well as an initial configuration supporting Conda Forge.
73+
Mamba is a drop-in replacement for the Conda package manager. It is faster and can sometimes find ways to safely install two pieces of software that Conda thinks have conflicting dependencies. Miniforge includes Mamba itself, as well as an initial configuration supporting Conda Forge.
7474
75-
If you don't have Conda or Mamba installed, installing MambaForge will give you access to everything you need to install OpenFF software. If you can, we recommend installing MambaForge locally to your user account, rather than system-wide, so that you can freely create and destroy environments and manage your own configuration. If something goes wrong, you can always delete your MambaForge installation and start again, and you'll only lose your installed software.
75+
If you don't have Conda or Mamba installed, installing Miniforge will give you access to everything you need to install OpenFF software. If you can, we recommend installing Miniforge locally to your user account, rather than system-wide, so that you can freely create and destroy environments and manage your own configuration. If something goes wrong, you can always delete your Miniforge installation and start again, and you'll only lose your installed software.
7676
7777
Mamba can be installed to your own user account without root/sudo access. A system-wide multi-user Conda/Mamba installation is [complicated] and generally not necessary.
7878
7979
:::{hint}
80-
If you're running Mamba through MambaForge, you're configured to use the Conda Forge channel by default, and you don't need to pass the `-c conda-forge` argument to the commands in this page. Including this argument does no harm, so we've included it for the benefit of users that don't have this configuration.
80+
If you're running Mamba through Miniforge, you're configured to use the Conda Forge channel by default, and you don't need to pass the `-c conda-forge` argument to the commands in this page. Including this argument does no harm, so we've included it for the benefit of users that don't have this configuration.
8181
:::
8282
8383
[complicated]: inv:conda#user-guide/configuration/admin-multi-user-install
8484
8585
(conda_init)=
8686
### To init or not to init
8787
88-
After it's done installing, the MambaForge installer will ask you if you want it to initialize MambaForge. Initialization involves adding a section to your shell startup script that tells the shell where to find Conda/Mamba. Answering "no" will leave you startup scripts untouched, but you will need to run an additional command every time you want to use Conda/Mamba or a Conda environment. Answering "yes" will attempt to add a version of this command to your shell startup script, which generally makes Conda easier to use.
88+
After it's done installing, the Miniforge installer will ask you if you want it to initialize Miniforge. Initialization involves adding a section to your shell startup script that tells the shell where to find Conda/Mamba. Answering "no" will leave you startup scripts untouched, but you will need to run an additional command every time you want to use Conda/Mamba or a Conda environment. Answering "yes" will attempt to add a version of this command to your shell startup script, which generally makes Conda easier to use.
8989
9090
If you do answer "yes", we recommend preventing Conda from activating the base environment in every new shell:
9191
9292
```shell-session
9393
$ conda config --set auto_activate_base false
9494
```
9595

96-
This will prevent any conflicts between the MambaForge Python installation and the Python expected by your system. It does not prevent you from using Conda/Mamba directly to manage or activate environments.
96+
This will prevent any conflicts between the Miniforge Python installation and the Python expected by your system. It does not prevent you from using Conda/Mamba directly to manage or activate environments.
9797

9898
(existing_conda)=
9999
### Installing Mamba in an existing Conda installation
100100

101-
If you already have Conda installed, you don't need to install MambaForge; you can install Mamba on its own into the base environment with:
101+
If you already have Conda installed, you don't need to install Miniforge; you can install Mamba on its own into the base environment with:
102102

103103
```shell-session
104104
$ conda install -n base -c conda-forge mamba
@@ -118,10 +118,10 @@ Conda environments that use packages from Conda Forge alongside packages from th
118118
```shell-session
119119
$ conda activate openff
120120
$ conda config --env --add channels conda-forge
121-
$ conda config --env --set channel_priority strict
121+
$ conda config --env --set channel_priority strict
122122
```
123123

124-
In environments with this configuration, the `-c conda-forge` switch is unnecessary. Other channels, like `psi4` and `bioconda`, can still be used in the usual way. These settings can be applied to all your Conda environments by removing the `--env` switches, matching the default MambaForge configuration.
124+
In environments with this configuration, the `-c conda-forge` switch is unnecessary. Other channels, like `psi4` and `bioconda`, can still be used in the usual way. These settings can be applied to all your Conda environments by removing the `--env` switches, matching the default Miniforge configuration.
125125

126126
(managing_environments)=
127127
## Managing Environments
@@ -158,7 +158,7 @@ $ jupyter-lab .
158158

159159
### Advanced Environment Management
160160

161-
Mamba/Conda cache the packages you install, so if you've already downloaded a particular version, you can install it in as many environments as you like without having to re-download it. In fact, Mamba/Conda try their hardest to unpack each version once, and then hardlink to it from each environment to keep the storage size of environments down. So don't be afraid to just create a new environment!
161+
Mamba/Conda cache the packages you install, so if you've already downloaded a particular version, you can install it in as many environments as you like without having to re-download it. In fact, Mamba/Conda try their hardest to unpack each version once, and then hardlink to it from each environment to keep the storage size of environments down. So don't be afraid to just create a new environment!
162162

163163
Because of this linking behavior, package code is often shared among different environments. If you edit one environment's `lib/python/site-packages` directory for example, those changes are likely to affect other environments. If you want to tinker with the code of your dependencies, consider using the `--copy` argument when installing them to avoid linking!
164164

@@ -233,7 +233,7 @@ $ mamba install openff-bespokefit psi4 ambertools
233233

234234
OpenFF does not support or test on Windows natively. All of our software is pure Python code and may work anyway as long as you can provide our dependencies, but many of these dependencies are not available on Windows and may not be in the foreseeable future.
235235

236-
Instead, we recommend using the [Windows Subsystem for Linux] to run OpenFF software on Windows. WSL runs a Linux kernel within your Windows system so you can run ordinary software as if you had a Linux system. If your hardware supports it, we suggest using WSL2 for a smoother experience; this is the default for new WSL installations on supported hardware. WSL2 requires hardware virtualization support, which is available on most modern CPUs but may require activation in the BIOS/UEFI.
236+
Instead, we recommend using the [Windows Subsystem for Linux] to run OpenFF software on Windows. WSL runs a Linux kernel within your Windows system so you can run ordinary software as if you had a Linux system. If your hardware supports it, we suggest using WSL2 for a smoother experience; this is the default for new WSL installations on supported hardware. WSL2 requires hardware virtualization support, which is available on most modern CPUs but may require activation in the BIOS/UEFI.
237237

238238
In either case, once WSL is installed you can usually follow any documentation as though you had a Linux machine.
239239

@@ -248,7 +248,7 @@ WSL2 [does support](https://developer.nvidia.com/cuda/wsl) GPU compute, at least
248248
(install_arm)=
249249
## OpenFF on Apple Silicon and ARM
250250

251-
As of January 2024, OpenFF software and most of its corner of the computational chemistry ecosystem (OpenMM, RDKit, Psi4, etc.) support Apple Silicon (M1, M2, etc.). However, this may not be true if, for example, using old versions of any software. In such cases, we recommend macOS users of Apple Silicon install the x86_64 version of MambaForge and run all OpenFF software through [Rosetta]. ARM systems without access to a similar emulation layer may not be able to access all of the features of OpenFF software.
251+
As of January 2024, OpenFF software and most of its corner of the computational chemistry ecosystem (OpenMM, RDKit, Psi4, etc.) support Apple Silicon (M1, M2, etc.). However, this may not be true if, for example, using old versions of any software. In such cases, we recommend macOS users of Apple Silicon install the x86_64 version of Miniforge and run all OpenFF software through [Rosetta]. ARM systems without access to a similar emulation layer may not be able to access all of the features of OpenFF software.
252252

253253
An existing ARM installation of Conda can be configured to [use Rosetta] with the `CONDA_SUBDIR=osx-64` shell environment variable or the `subdir` Conda config variable. We recommend using this on a per-environment basis so that it persists across updates and new installs, but does not affect existing setups:
254254

source/workshops/2024/protein_prep/colab-protein_prep.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": [
1010
"!pip install -U https://github.com/conda-incubator/condacolab/archive/cuda-version-12.tar.gz\n",
1111
"import condacolab\n",
12-
"condacolab.install_mambaforge()"
12+
"condacolab.install()"
1313
]
1414
},
1515
{

source/workshops/2024/smirnoff/colab-smirnoff.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": [
1010
"!pip install -U https://github.com/conda-incubator/condacolab/archive/cuda-version-12.tar.gz\n",
1111
"import condacolab\n",
12-
"condacolab.install_mambaforge()"
12+
"condacolab.install()"
1313
]
1414
},
1515
{

source/workshops/2024/vignettes/colab-vignettes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": [
1010
"!pip install -U https://github.com/conda-incubator/condacolab/archive/cuda-version-12.tar.gz\n",
1111
"import condacolab\n",
12-
"condacolab.install_mambaforge()"
12+
"condacolab.install()"
1313
]
1414
},
1515
{

0 commit comments

Comments
 (0)