I'm setting up LAMMPS with TensorFlow support by CMake, but I’m encountering an issue where CMake cannot locate libtensorflow_cc.so.2. Although I have installed TensorFlow and the necessary library files, CMake keeps failing to find the file.
Since I compiled the TensorFlow libraries manually rather than using the pip installation, I had to specify TF_LIB_FILE and TF_PATH explicitly. After doing that, everything works well.
I believe the README should include instructions for this scenario.