You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#. Install the `conda` package manager, if you do not already have it (or Anaconda).
9
-
Select one of the following options:
8
+
#. Install the ``conda`` package manager via `Miniconda <https://docs.anaconda.com/free/miniconda/miniconda-install/>`_.
10
9
11
-
a. Users of Fedora Linux and Red Hat derivatives (RHEL, CentOS Stream) may install from the official repositories and EPEL, respectively, with the command ::
10
+
#. Create and activate a new ``conda`` environment::
12
11
13
-
sudo dnf install conda
12
+
conda create --name rmg_env python=3.7
13
+
conda activate rmg_env
14
14
15
-
b. All other users, download and install `Miniconda <https://docs.conda.io/en/latest/miniconda.html>`_.
15
+
#. Install the core RMG Python package::
16
16
17
-
The download will be a .sh file with a name like ``Miniconda3-latest-Linux-x86_64.sh``.
18
-
Open a terminal in the same directory as this file, and type the following to install Conda
19
-
(replace the name of your .sh file below). ::
17
+
conda install rmg --channel rmg
20
18
21
-
bash Miniconda3-latest-Linux-x86_64.sh
19
+
#. Install RMS::
22
20
23
-
**When prompted to append Anaconda to your PATH, select or type Yes**.
24
-
Install the Conda folder inside your home directory
25
-
(typically ``/home/YourUsername/`` in Linux and ``/Users/YourUsername`` in Mac).
julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main")); using ReactionMechanismSimulator'
26
25
27
-
Note that you should reinitialize or restart your terminal in order for the changes to take effect, as the installer will tell you.
26
+
.. NOTE::
27
+
Arkane and RMG can both be run without installing RMS, though with a reduced feature set.
28
+
Arkane will use the slower ``scipy`` solvers instead of ``diffeqpy`` when solving the master equation
29
+
and RMG will lose some advanced reactor types and the sensitivity analysis feature.
28
30
29
-
#. Install both RMG and the RMG-database binaries through the terminal. Dependencies will be installed automatically. It is safest to make a new conda environment for RMG and its dependencies. Type the following command into the terminal to create the new environment named 'rmg_env' containing the latest stable version of the RMG program and its database. ::
31
+
#. You may now run an RMG test job. Save the `Minimal Example Input File <https://raw.githubusercontent.com/ReactionMechanismGenerator/RMG-Py/master/examples/rmg/minimal/input.py>`_
32
+
to a local directory. Use the terminal to run your RMG job inside that folder using the following command ::
Whenever you wish to use it you must first activate the environment::
36
+
To run models requiring RMS, prefix the command with ``python-jl``::
34
37
35
-
conda activate rmg_env
38
+
python-jl rmg.py input.py
36
39
37
-
#. You may now run an RMG test job. Save the `Minimal Example Input File <https://raw.githubusercontent.com/ReactionMechanismGenerator/RMG-Py/master/examples/rmg/minimal/input.py>`_
38
-
to a local directory. Use the terminal to run your RMG job inside that folder using the following command ::
40
+
Whenever you wish to use RMG you must first activate the environment::
39
41
40
-
rmg.py input.py
42
+
conda activate rmg_env
41
43
42
44
If you encounter the ImportError related to ``libmkl_rt.so.2``, refer to the :ref:`Fixing the ImportError related to libmkl_rt.so.2 <fixImportError>`
43
45
section below to fix the error and re-run the RMG test job.
@@ -83,8 +85,8 @@ You will see a line saying ``MODEL GENERATION COMPLETED`` on your terminal if yo
83
85
Updating your binary installation of RMG in Linux or Mac OSX
0 commit comments