Hi all,
I am running AMD system on UBUNTU 20.2 and I faced the following error after successfully installing Cantera via Conda
Code:
import cantera
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/priyesh/anaconda3/envs/ct-env/lib/python3.9/site-packages/cantera/__init__.py", line 4, in <module>
from ._cantera import *
ImportError: libmkl_rt.so.2: cannot open shared object file: No such file or directory
I solved this issue by going to the cantera source code and changing "libmkl_rt.so.1" to "libmkl_rt.so.2"
I hope this helps. I think you will have to find the installed dir, for me I installed it through Conda, so the installed directory was in the conda environment. The error will also throw the path at which the directory is missing, go to that path and search for "libmkl" only and not the complete thing (because the file name might have numbers at the end).
Hope this helps
Hi all,
I am running AMD system on UBUNTU 20.2 and I faced the following error after successfully installing Cantera via Conda
Code:
import cantera
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/priyesh/anaconda3/envs/ct-env/lib/python3.9/site-packages/cantera/__init__.py", line 4, in <module>
from ._cantera import *
ImportError: libmkl_rt.so.2: cannot open shared object file: No such file or directory
I solved this issue by going to the cantera source code and changing "libmkl_rt.so.1" to "libmkl_rt.so.2"
I hope this helps. [swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions October 29, 2014 18:00