Replies: 5 comments 4 replies
-
I am unsure if you typed correctly, but it should be
Are there any errors on the screen? |
Beta Was this translation helpful? Give feedback.
-
I am not sure if I did correctly then ,sorry. But I ran it the correct way now.
|
Beta Was this translation helpful? Give feedback.
-
Ah , sorry again. I missed the first line.
|
Beta Was this translation helpful? Give feedback.
-
Hi , I have enabled plugin during the build
I am not sure of the patching step provided in the installation guide , could that be the issue ?
|
Beta Was this translation helpful? Give feedback.
-
You might use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run the command ,
/home/madhavan/local/bin/lmp -h
, I get the following message followed by usual help lines.Additionally , no deepmd pairstyle present when I list the styles using , /home/madhavan/local/bin/lmp -h. I doubled checked by runnning a small lammps simulation (after loading the plugin
pluigin load /home/madhavan/Softwares/deepmd-kit/lb/libdeepmd_lmp.so
) and an error saying unknown command plugin load.I also tried setting the the LAMMPS_PLUGIN_PATH environment variable and run the small lammps simulation . This time, it showed no deepmd pair style.
I build from source , deepmd kit (2.2.6) and lammps ( 2023 Aug ). Here are the installation steps I followed , please guide me to the source of the mistake.
conda create --name lpd_env python=3.11
conda activate lpd_env
pip install --upgrade tensorflow-cpu # cpu only version
The installed tensorflow works
git clone https://github.com/deepmodeling/deepmd-kit.git deepmd-kit
conda install mpi4py -c defaults -c conda-forge HOROVOD_WITHOUT_GLOO=1 HOROVOD_WITH_TENSORFLOW=1 pip install horovod
horovodrun --check-build works
cd deepmd-kit pip install .
and dp -h works.
Now for building the C++ interface
Now in lammps build directory ,
Now patching , (not sure of this step )
patchelf --add-rpath "/home/madhavan/anaconda3/envs/lpd_env/lob/python3.11/site-packages/tensorflow"
liblammps.so``Any guidance will be be really helpful for my project.
Thanking you ,
maddy
Beta Was this translation helpful? Give feedback.
All reactions