-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docker image - Include LAMMPS #210
Conversation
Do you know if you need to build it with QUIP support? https://docs.lammps.org/Build_extras.html#ml-quip |
I saw this, but as QUIP support was not mentioned, I did not enable that. But I think currently inferace with J-ACE is also not complete for RSS after looking at commented out lines |
@naik-aakash should I merge it? |
Not sure, if there are other flags to be added in lammps compilation. Better to wait for tomorrow ? |
Yeah. Let's wait for conformation. Thanks anyway 😀 |
@YuanbinLiu Can you please help us with the flags needed for the lammps compilation? Then, we can also add a test for LAMMPS in #203 . Thanks! |
@JaGeo , This PR could be merged |
We don't QUIP for julia-ACE |
@naik-aakash, thanks for the great job. For the compilation, we need libpace.tar.gz. Here is my recipe on our HPC for compiling lammps-ace:
$LAMMPS_INSTALL is the conda environment for installing the lammps-python interface. After the installation is completed, enter the following commands in the Python environment. If you get the same output, it means the installation was successful.
|
If it still doesn't work, I would suggest commenting out this part for now. After the paper is sent out, we can revisit it later. |
Hi @YuanbinLiu, thanks for sharing the details, It seems a lot of other flags are added that are not enabled by default, But at this point, in the docker image, without including all the other flags you mentioned, I actually have the same output for the above-mentioned Python command to check if the installation is working. So, does it mean there are other dependencies in the flags you shared, or are they not really necessary? |
@naik-aakash I guess those two are not required and cannot be enabled as we do not have these files: |
@naik-aakash have you included |
yes, we don't need them |
Ah okay, will try to include it then. This could be missing |
Hi @YuanbinLiu, Following up on your comment in PR #203 (#203 (comment)), I have now tried to include LAMMPs in our CI workflow setup (lammps is compiled with PACE and python package). I tested whether the installation was working or not. It seems to run fine when I try to execute the examples from the source code. I mainly checked demo.py and mc.py (https://github.com/lammps/lammps/tree/develop/python/examples).
These are commands used for compiling the lammps from source code in the docker image
The compilation runs through successfully, and the
lmp
binary is accessible on the systemPATH
. Python package imports also work fine . So I have the following questionsLD_LIBRARY_PATH
or systemPATH
?Because enabling the commented-out test of J-ACE in the
tests/rss/test_rss.py
fails with a bunch of fatal Python errors.I see there are few lines commented out, here
autoplex/autoplex/data/rss/utils.py
Line 344 in e660c5c
Todos