|
[Sponsors] |
May 25, 2022, 14:56 |
Cantera Python error
|
#1 |
New Member
priyesh kakka
Join Date: Jan 2018
Posts: 13
Rep Power: 8 |
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 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. |
|
May 30, 2022, 17:26 |
|
#2 |
New Member
Brent Skabelund
Join Date: May 2022
Posts: 1
Rep Power: 0 |
Where did you find the libmkl_rt.so? I have not been able to locate it...
|
|
May 31, 2022, 12:47 |
|
#3 |
New Member
priyesh kakka
Join Date: Jan 2018
Posts: 13
Rep Power: 8 |
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 |
|
January 30, 2023, 15:23 |
|
#4 | |
New Member
James
Join Date: Apr 2020
Posts: 1
Rep Power: 0 |
Quote:
|
||
Tags |
cantera, error, python |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |