Skip to content

[BUG] Lammps compilation fails when using low-precision mode USER-DEEPMD #563

@BaozCWJ

Description

@BaozCWJ

Summary

The low-precision mode deepmd module cannot be compiled by LAMMPS

Deepmd-kit version, installation way, input file, running commands, error log, etc.

vserion: 2.0.0 devel branch
installation way: C++ interface
key commands:
cmake -DUSE_CUDA_TOOLKIT=true -DTENSORFLOW_ROOT=$tensorflow_root -DCMAKE_INSTALL_PREFIX=$deepmd_root -DFLOAT_PREC=low ..
After the compilation of low-precision deepmd, there's an error when compile lammps.

Steps to Reproduce

Following the step after the above cmake command from https://deepmd.readthedocs.io/en/master/install.html#install-the-c-interface, then the error will occur at the last step of Install LAMMPS’s DeePMD-kit module

Further Information, Files, and Links
Screen Shot 2021-04-24 at 14 51 29

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions