ASE_ANI icon indicating copy to clipboard operation
ASE_ANI copied to clipboard

Import Error: cannot open shared object file: No such file or directory

Open hitarth64 opened this issue 5 years ago • 5 comments

I followed the steps as recommended by the readme file and example bashrc for configuring the models. I am facing the following error while trying to import ANIENS. I attach the command and the trace below. Could you please help me resolve this? I have checked if the LD_LIBRARY_PATH contains the required path and it does.

Command: from ase_interface import ANIENS

Trace: van Der Waals correction will be unavailable. Please install ased3

ImportError Traceback (most recent call last) in ----> 1 from ase_interface import ANIENS

/scratch/e/esargent/mxyptlkr/ml_potential/ASE_ANI/lib/ase_interface.py in 18 pass 19 ---> 20 import pyNeuroChem as pync 21 22 import multiprocessing

ImportError: /scratch/e/esargent/mxyptlkr/ml_potential/ASE_ANI/lib/pyNeuroChem.so: cannot open shared object file: No such file or directory

hitarth64 avatar Oct 30 '20 17:10 hitarth64

Hi hitarth64, I've had the same issue when running ani_quicktest.py, I wonder if you have solved the problem. I've tried changing the path variable in bashrc but still got the same error. Thanks for any information!

Joey-Xue avatar Nov 09 '20 05:11 Joey-Xue

Hey Joey, Yeah - I was facing the same errors every time I tried; I switched the system I was working on, that fixed it for me. So, I think it is dependent on the architecture of your system maybe? Cheers!

Hi hitarth64, I've had the same issue when running ani_quicktest.py, I wonder if you have solved the problem. I've tried changing the path variable in bashrc but still got the same error. Thanks for any information!

hitarth64 avatar Nov 10 '20 04:11 hitarth64

Try this:

locate pyNeuroChem.so

Then append the dirname of that to your LD_LIBRARY_PATH env. var

UnixJunkie avatar Sep 26 '23 02:09 UnixJunkie

I assume you are under a unix-like; if not then good luck.

UnixJunkie avatar Sep 26 '23 02:09 UnixJunkie

Hello, I have the same problem here. Do you have any solution for this? @Joey-Xue and @hitarth64

pchuy1906 avatar Mar 11 '24 05:03 pchuy1906