-
Notifications
You must be signed in to change notification settings - Fork 12
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
❓ [QUESTION] installation with lammps #8
Comments
Hi @deleep225, please provide a full set of information what platform you are on and what you ran for the install. |
Hi Simon, uname -a my cmake command includes the following cmake ../cmake -DCMAKE_PREFIX_PATH= OUTPUT for the above command. -- Running check for auto-generated files from make-based build system
-- <<< Build configuration >>> Afeter his I have used make -j 32 command, which was 100 percent build but at the last step the installation gave the error. Thank you. |
Hi @deleep225 , What is your PyTorch version? If it is 1.11, I have a suspicion. Thanks. |
Hi, print(torch.version) should I use other version of pytorch? |
Hi @deleep225 , 1.11 is the newest version, just released, and it looks like there is some compatibility work to be done on the LAMMPS plugin. I would advise using 1.10 for now; at some point in the near future we will update the plugin to be compatible with 1.11. |
Hi everyone, Sorry for adding my comment here and not creating a separate discussion, but I'm having the same issue as @deleep225, and as @Linux-cpp-lisp suggested, I tried changing the pytorch version from My error is a little different where it fails at the cmake command, I'm attaching the details here
I am working on macOS Monterey 12.1, and have also tried running the same on Linux but the same error. Not sure if there's any changes to be made in installing Thanks in advance for the help! Nisarg |
@nisargjoshi10 This is covered in the @deleep225 I am migrating this issue to the |
@nisargjoshi10 your installation need mkl-libraries or path of them if they are in your system. |
@Linux-cpp-lisp I have just installed the nequip with lammps using libtorch1.10.2 Thank you. However I could not find the conda command for installing the pytorch version 1.10.2 (there are only 1.9 and lower versions in conda website), so I have dowloaded the libtorch 1.10.2 version and given that path. |
That works too. For 1.10, you just add something like |
I have done the cmake part successfully in our cluster.
while doing make -j 32 i got the following error.
/data/home/reddy/softwares/lammps-29Sep2021/src/pair_nequip.cpp: In member function ‘virtual void LAMMPS_NS::PairNEQUIP::coeff(int, char**)’:
/data/home/reddy/softwares/lammps-29Sep2021/src/pair_nequip.cpp:209:30: error: lvalue required as left operand of assignment
209 | torch::jit::getBailoutDepth() = jit_bailout_depth;
I was able to install in my own laptop but got the above error in all of our clusters.
please help me to resolve this issue.
thank you.
The text was updated successfully, but these errors were encountered: