Skip to content

Commit 5cae69f

Browse files
committed
remove python 3.7 specific problem
1 parent d1f3324 commit 5cae69f

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

documentation/source/users/rmg/installation/anacondaUser.rst

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -28,45 +28,7 @@ Binary Installation Using Anaconda for Unix-Based Systems: Linux and Mac OSX
2828

2929
rmg.py input.py
3030

31-
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>`
32-
section below to fix the error and re-run the RMG test job.
33-
34-
You may now use RMG-Py, Arkane, as well as any of the :ref:`Standalone Modules <modules>` included in the RMG-Py package.
35-
36-
.. _fixImportError:
37-
38-
Fixing the ImportError related to ``libmkl_rt.so.2``
39-
============================================================
40-
41-
You may encounter the following ImportError when you try to run a RMG test job ::
42-
43-
Traceback (most recent call last):
44-
File "/PATH-TO-YOUR-ANACONDA/envs/rmg_env/bin/rmg.py", line 48, in <module>
45-
from rmgpy.rmg.main import RMG, initialize_log, process_profile_stats, make_profile_graph
46-
File "/PATH-TO-YOUR-ANACONDA/envs/rmg_env/lib/python3.7/site-packages/rmgpy/rmg/main.py", line 51, in <module>
47-
from cantera import ck2cti
48-
File "/PATH-TO-YOUR-ANACONDA/envs/rmg_env/lib/python3.7/site-packages/cantera/__init__.py", line 4, in <module>
49-
from ._cantera import *
50-
ImportError: libmkl_rt.so.2: cannot open shared object file: No such file or directory
51-
52-
where ``PATH-TO-YOUR-ANACONDA`` is the path to the ``Anaconda3`` directory installed on your machine.
53-
The default install location of Anaconda on Linux is ``/home/<your_username>/Anaconda3``.
54-
55-
To fix this issue, simply copy ``libmkl_rt.so.1`` as ``libmkl_rt.so.2`` under the rmg environment library by typing the following
56-
line on your terminal::
57-
58-
cp /PATH-TO-YOUR-ANACONDA/envs/rmg_env/lib/libmkl_rt.so.1 /PATH-TO-YOUR-ANACONDA/envs/rmg_env/lib/libmkl_rt.so.2
59-
60-
Note that ``PATH-TO-YOUR-ANACONDA`` needs to be the path to your ``Anaconda3`` directory, which mostly likely looks
61-
like ``/home/<your_username>/Anaconda3``. If you are unable to locate the ``libmkl_rt.so.1`` file on your computer, you can find its location with the following command::
62-
63-
locate libmkl_rt.so.1
64-
65-
After copying the file as ``libmkl_rt.so.2``, try running the RMG test job again::
66-
67-
rmg.py input.py
68-
69-
You will see a line saying ``MODEL GENERATION COMPLETED`` on your terminal if your RMG test job ran successfully.
31+
You will see a line saying ``MODEL GENERATION COMPLETED`` on your terminal if your RMG test job ran successfully.
7032

7133

7234
Updating your binary installation of RMG in Linux or Mac OSX

0 commit comments

Comments
 (0)