Skip to content

Commit 41d29a7

Browse files
committed
Update installation and running documentation: clarify OS compatibility, adjust installation instructions for Miniforge/Miniconda, and enhance reaction input file examples with family specification.
1 parent 0aa82d2 commit 41d29a7

3 files changed

Lines changed: 22 additions & 18 deletions

File tree

docs/source/installation.rst

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The instructions below make this differentiation when relevant (the only differe
88
of software installed on the same machine, where the communication isn't done via SSH).
99

1010
Note:
11-
ARC was only tested on Linux (Ubuntu_ 18.04.1 and 20.04 LTS) and Mac machines.
12-
We don't expect it to work smoothly on Windows machines.
11+
ARC was only tested on Linux (Ubuntu_ 18.04.1 until 24.04 LTS & Rocky Linux 8.1) and Mac machines.
12+
/We don't expect it to work smoothly on Windows machines.
1313

1414
Note:
1515
For a containerized setup, see the :ref:`Docker image <docker>` documentation.
@@ -26,29 +26,27 @@ Note:
2626
Clone and setup path
2727
^^^^^^^^^^^^^^^^^^^^
2828

29-
- Download and install the `Anaconda Python Platform`__ for Python 3.7 or higher if you haven't already.
29+
- Download and install the `Miniforge`_ or `Miniconda`_ for Python 3.12 or higher if you haven't already.
3030
- Get git and appropriate compilers if you don't have them already by typing ``sudo apt install git gcc g++ make``
3131
in a terminal.
3232
- Clone ARC's repository to by typing the following command in the desired folder (e.g., under `~/Code/`)::
3333

3434
git clone https://github.com/ReactionMechanismGenerator/ARC.git
3535

36-
- Add ARC to your local path in ``.bashrc`` (make sure to change ``~/Path/to/ARC/`` accordingly)::
3736

38-
export PYTHONPATH=$PYTHONPATH:~/Path/to/ARC/
39-
40-
__ anaconda_
37+
__ miniconda__
38+
__ miniforge__
4139

4240

4341
.. _arce:
4442

4543
Install dependencies
4644
^^^^^^^^^^^^^^^^^^^^
4745

48-
- Create the Anaconda environment for ARC (after changing the directory to the
46+
- Create the environment for ARC using miniforge or miniconda(after changing the directory to the
4947
installation folder by, e.g., ``cd ~/Code/ARC/``)::
5048

51-
conda env create -f environment.yml
49+
conda env create -f environment.yml
5250

5351
Activate the ARC environment every time before you run ARC::
5452

@@ -58,30 +56,30 @@ Install dependencies
5856

5957
- Use the installer script via Make (recommended). Default is the packaged release::
6058

61-
make install-rmg
59+
make install-rmg
6260

63-
To install from source instead::
61+
To install from source instead (like a github repo)::
6462

65-
make install-rmg RMG_ARGS=--source
63+
make install-rmg RMG_ARGS=--source
6664

6765
Additional source options (examples)::
6866

69-
make install-rmg RMG_ARGS="--source --conda"
70-
make install-rmg RMG_ARGS="--source --pip"
67+
make install-rmg RMG_ARGS="--source --conda"
68+
make install-rmg RMG_ARGS="--source --pip"
7169

7270
Optional extras (examples)::
7371

74-
make install-rmg RMG_ARGS="--rms"
75-
make install-rmg RMG_ARGS="--source --rms --ssh"
72+
make install-rmg RMG_ARGS="--rms"
73+
make install-rmg RMG_ARGS="--source --rms --ssh"
7674

77-
See ``devtools/install_rmg.sh --help`` for all flags.
75+
See ``bash devtools/install_rmg.sh --help`` for all flags.
7876

7977
- Source install RMG-Py + RMG-database manually, then set `RMG_PY_PATH` and `RMG_DB_PATH` in your shell or
8078
`.arc/settings.py`.
8179

8280
- Install the packaged RMG release (RMG-Py + RMG-database + Arkane) into a dedicated environment::
8381

84-
mamba create -n rmg_env -c rmg -c conda-forge python=3.9 conda-forge::numpy>=1.10.0,<2 \
82+
mamba create -n rmg_env -c rmg -c conda-forge python=3.9 conda-forge::numpy>=1.10.0,<2 \
8583
blas=*=openblas conda-forge::numdifftools rmg=3.3.0 connie::symmetry
8684

8785
ARC runs Arkane automatically for statmech from this environment.

docs/source/links.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
.. _ubuntu: http://releases.ubuntu.com/18.04/
55
.. _cluster: https://en.wikipedia.org/wiki/Comparison_of_cluster_software
66
.. _anaconda: https://www.anaconda.com/distribution/
7+
.. _miniconda: https://www.anaconda.com/docs/getting-started/miniconda/main
8+
.. _miniforge: https://conda-forge.org/download/
79
.. _yaml: https://yaml.org/
810
.. _jupyter: https://jupyter.org/
911
.. _examplesGitHub: https://github.com/ReactionMechanismGenerator/ARC/tree/main/examples

docs/source/running.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ A sample reaction input file with a user-supplied TS geometry guess is::
7373
- label: NH2
7474
smiles: '[NH2]'
7575

76+
# Reactions can be identified by different reaction families.
77+
# You may want to specify the 'family' key to clarify which reaction family the reaction belongs to,
78+
# especially when a reaction can be identified as multiple reaction families.
7679
reactions:
7780
- label: N2H4 + NH <=> N2H3 + NH2
81+
family: H_Abstraction
7882
ts_xyz_guess:
7983
- |
8084
N -0.4465194713 0.6830090994 -0.0932618217

0 commit comments

Comments
 (0)