-
Notifications
You must be signed in to change notification settings - Fork 0
Provide library for LAMMPS quip pair_style #2
Comments
done! |
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 |
You should find a libquip.a suitable for linking to LAMMPS inside your quippy installation: you can find where this is with the |
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 What response should I get from Sorry for the trouble. |
Try |
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? |
I was wrong, it's $ 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. |
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! |
Possible ways to do this:
_quippy.so
with LAMMPS instead oflibquip.a
libquip.a
to the Python wheelsThe text was updated successfully, but these errors were encountered: