GithubHelp home page GithubHelp logo

Comments (8)

jameskermode avatar jameskermode commented on August 10, 2024

done!

from quippy-wheels.

dft-dutoit avatar dft-dutoit commented on August 10, 2024

Hi James,

Apologies for asking perhaps a silly question. How should we go about linking the quippy-ase install to LAMMPS when compiling with either make or cmake?

Thanks

from quippy-wheels.

jameskermode avatar jameskermode commented on August 10, 2024

You should find a libquip.a suitable for linking to LAMMPS inside your quippy installation: you can find where this is with the quip-config command line tool provided.

from quippy-wheels.

dft-dutoit avatar dft-dutoit commented on August 10, 2024

Hi yes, I have found the libquip.a which is located in the site-packages/quippy. But when I run the quip-config tool from within the virtual environment, I get no readout. However, if I run whereis quip then I get the location of quip within the environment bin.

What response should I get from quip-config? and would this provide the QUIP_ARCH or QUIP_ROOT responses that should be entered into the Makefile.lammps?

Sorry for the trouble.

from quippy-wheels.

jameskermode avatar jameskermode commented on August 10, 2024

Try quip-config --help. From memory I think you need to supply an ldflags argument.

from quippy-wheels.

dft-dutoit avatar dft-dutoit commented on August 10, 2024

Ah okay, thanks for all the help. Where would I supply the ldflags argument? And is there any further editing to the Makefile.lammps in the lammps/lib/quip directory required?

from quippy-wheels.

jameskermode avatar jameskermode commented on August 10, 2024

I was wrong, it's --libs, e.g on my Mac I get:

$ quip-config --libs
-L/opt/homebrew/lib/python3.9/site-packages/quippy -lquip

These are the linker arguments you need to supply to LAMMPS for it to be able to link to QUIP. I'm not sufficiently familiar with the LAMMPS Makefile system to be able to tell you exactly where to put this.

from quippy-wheels.

dft-dutoit avatar dft-dutoit commented on August 10, 2024

Brilliant, thanks James I'll go and mess about with that and see what I get. I'll post back here if/when I figure out the installation steps so that others can use it too!

from quippy-wheels.

Related Issues (4)

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.