NWChemEx / NWChemEx

A top-level, user-focused, conglomerate repo for the NWChemEx project.
https://nwchemex.github.io/NWChemEx/
Apache License 2.0
7 stars 2 forks source link

Path error for TensorWrapper cmake_install.cmake #140

Open jlheflin opened 6 hours ago

jlheflin commented 6 hours ago
CMake Error at _deps/tensorwrapper-build/cmake_install.cmake:103 (file): 
  file INSTALL cannot find
  "/home/jacob/Applications/NWChemEx/build/tensorwrapper-build/config.hpp":
  No such file or directory.
Call Stack (most recent call first):
  _deps/chemist-build/cmake_install.cmake:57 (include)
  _deps/simde-build/cmake_install.cmake:47 (include)
  _deps/chemcache-build/cmake_install.cmake:47 (include)
  cmake_install.cmake:52 (include)

If the path is adjusted in the cmake_install.cmake file in _deps/tensorwrapper-build/ in the build directory to build/_deps/tensorwrapper-build/config.hpp the install portion ends up working. I am unsure if this a NWChemEx issue or a TensorWrapper issue.

jwaldrop107 commented 5 hours ago

Probably TensorWrapper, maybe this line. My guess is the file path should start with something other than ${CMAKE_BINARY_DIR}, but I'm not sure off the top of my head what that should be.

ryanmrichard commented 4 hours ago

It looks like it's a problem with TW being a nested project. The cmake_binary_dir prefix is wrong in the nested case.