Giter Club home page Giter Club logo

Comments (4)

isayev avatar isayev commented on May 23, 2024

@icamps there are two separate errors. First "file not found" because in example ani_quicktest.py we use a relative path. Go to "~/bin/ASE_ANI/" and execute python3 examples/ani_quicktest.py one more time.

Second, D3 correction is totally optional, but if you'd like to have it, please try:

git clone https://github.com/isayev/ased3
cd ased3
python setup.py install

from ase_ani.

icamps avatar icamps commented on May 23, 2024

@isayev Thanks for the quick response!

I continue getting errors.

As I am beginning to play with ASE_ANI, I am not really sure if I will make use of D3 correction (probably yes), but at this time, I am just running the tests to see if the installation is ok, and I do not know how to disable the use of D3 in the examples.

I am confused. When I execute python3 examples/ani_quicktest.py, Iḿ using python3, but when installing ASED3 executing python setup.py install I am using python2.7, right?

Installing ASED3 with python, I got a different error now:
fortran:f90: build/src.linux-x86_64-2.7/ased3/_d3-f2pywrappers2.f90 /usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/ased3/_d3module.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/ased3/fortranobject.o build/temp.linux-x86_64-2.7/ased3/_d3params.o build/temp.linux-x86_64-2.7/ased3/_d3.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/ased3/_d3-f2pywrappers2.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -liomp5 -lgfortran -o build/lib.linux-x86_64-2.7/ased3/_d3.so /usr/bin/ld: cannot find -liomp5 collect2: error: ld returned 1 exit status error: Command "/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/ased3/_d3module.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/ased3/fortranobject.o build/temp.linux-x86_64-2.7/ased3/_d3params.o build/temp.linux-x86_64-2.7/ased3/_d3.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/ased3/_d3-f2pywrappers2.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -liomp5 -lgfortran -o build/lib.linux-x86_64-2.7/ased3/_d3.so" failed with exit status 1

If I try to install with python3, the error is the same as before: the file Python.h is missing.

A rapid googling about /usr/bin/ld: cannot find -liomp5 give that it could be related with python2-numpy-mkl

I suppose that in order to use ASE_ANI (that is developed for Python3, I have to configure ASED3 with Python3 too, right?

from ase_ani.

isayev avatar isayev commented on May 23, 2024
  1. No everything in python3.6!
  2. Yes, you are missing liomp5, check if you have Intel MKL, or any other custom BLAS library installed. Often the problem is that your $LD_LIBRARY_PATH variable is not defined.

from ase_ani.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.