Following the description of the readthedocs, flashtp + lammps compilation gives error by:
/usr/bin/ld: warning: flashtp_large_core.cpython-312-x86_64-linux-gnu.so, needed by /path/to/lammps/cmake/flashTP/libflashtp_large_kernel_lammps.so, not found (try using -rpath or -rpath-link)
It may be solved by
- appending LD_LIBRARY_PATH for /path/to/flashTP/build/lib***/flashTP_e3nn/
- setting flags at cmake: -DCMAKE_EXE_LINKER_FLAGS="-Wl,-rpath,/path/to/flashTP/build/lib***/flashTP_e3nn/"
- adding some configurations at CMakeLists.txt while sevenn_patch_lammps
I'm not 100% sure that this issue is dependent on which virtual environment is used (conda, venv, ...) or some complex environment setting in bashrc, thus this might not be reproduced in other "clean and proper" setups.
Although, it would be informational if this is provided in the installation guide.
Following the description of the readthedocs, flashtp + lammps compilation gives error by:
/usr/bin/ld: warning: flashtp_large_core.cpython-312-x86_64-linux-gnu.so, needed by /path/to/lammps/cmake/flashTP/libflashtp_large_kernel_lammps.so, not found (try using -rpath or -rpath-link)
It may be solved by
I'm not 100% sure that this issue is dependent on which virtual environment is used (conda, venv, ...) or some complex environment setting in bashrc, thus this might not be reproduced in other "clean and proper" setups.
Although, it would be informational if this is provided in the installation guide.