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
indicate that Julia is optional but recommended, list features
also update the final run example - the point of specifying the `PYTHONPATH` was so that users _don't_ have to give the full path to `rmg.py` - the `python` executable can search it out
Copy file name to clipboardExpand all lines: documentation/source/users/rmg/installation/anacondaDeveloper.rst
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,6 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux
115
115
make
116
116
117
117
#. Modify environment variables. Add RMG-Py to the PYTHONPATH to ensure that you can access RMG modules from any folder.
118
-
*This is important before the next step in which julia dependencies are installed.*
119
118
Also, add your RMG-Py folder to PATH to launch ``rmg.py`` from any folder.
120
119
121
120
In general, these commands should be placed in the appropriate shell initialization file.
@@ -130,16 +129,21 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux
130
129
131
130
Be sure to either close and reopen your terminal to refresh your environment variables (``source ~/.bashrc`` or ``source ~/.zshrc``).
132
131
133
-
#. Install and Link Julia dependencies: ::
132
+
#. **Optional (Recommended)**: Install and Link Julia dependencies. Ensure that you have modified your environment variables as described above, and then run the following: ::
134
133
135
134
julia -e 'using Pkg; Pkg.add("PyCall");Pkg.build("PyCall");Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main")); using ReactionMechanismSimulator;'
Installing these dependencies will allow using ``method='ode'`` when solving the Master Equation with Arkane and using ``ReactionMechanismSimulator.jl``-based reactors in RMG.
139
139
140
140
#. Finally, you can run RMG from any location by typing the following (given that you have prepared the input file as ``input.py`` in the current folder). ::
141
141
142
-
python-jl replace/with/path/to/rmg.py input.py
142
+
python-jl rmg.py input.py
143
+
144
+
or, if the Julia dependencies are not installed: ::
145
+
146
+
python rmg.py input.py
143
147
144
148
You may now use RMG-Py, Arkane, as well as any of the :ref:`Standalone Modules <modules>` included in the RMG-Py package.
0 commit comments