Skip to content

cmake failure found the libtensorflow_cc.so.2 #26

@iamusen

Description

@iamusen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions