3.2.1. Binary Installation Using Anaconda for Unix-Based Systems: Linux and Mac OSX

  1. Install the conda package manager via miniforge, if you do not already have it (or Anaconda), by following the Miniforge installation instructions.

  2. 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.

    conda create -c defaults -c rmg -c rdkit -c cantera -c pytorch -c conda-forge --name rmg_env rmg rmgdatabase
    

    Whenever you wish to use it you must first activate the environment:

    conda activate rmg_env
    

    For more information about using conda, please check out the conda user guide.

  3. You may now run an RMG test job. Save the Minimal Example Input File to a local directory. Use the terminal to run your RMG job inside that folder using the following command

    rmg.py input.py
    

    If you encounter the ImportError related to libmkl_rt.so.2, refer to the Fixing the ImportError related to libmkl_rt.so.2 section below to fix the error and re-run the RMG test job.

You may now use RMG-Py, Arkane, as well as any of the Standalone Modules included in the RMG-Py package.

3.2.1.2. Updating your binary installation of RMG in Linux or Mac OSX

If you had previously installed a binary version of the RMG package, you may check and update your installation to the latest stable version available on Anaconda by typing the following command on the terminal

source activate rmg_env
conda update rmg rmgdatabase -c rmg