You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build TiledArray in an environment that does not have Boost or BTAS. Based on INSTALL.md, I figured that both will be downloaded and installed, but instead, I get an error from the configuration of BTAS:
-- Could NOT find Boost (missing: Boost_DIR)
CMake Error at /home/software/cmake/3/19/1/install/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR)
Call Stack (most recent call first):
/home/software/cmake/3/19/1/install/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
/home/software/cmake/3/19/1/install/share/cmake-3.19/Modules/FindBoost.cmake:2193 (find_package_handle_standard_args)
build/_deps/btas-src/external/boost.cmake:16 (find_package)
build/_deps/btas-src/CMakeLists.txt:141 (include)
Looking at the boost.cmake from BTAS, it looks like it is a required package, and BTAS doesn't download boost, so since TiledArray finds or fetches BTAS before Boost, TiledArray doesn't get a chance to download Boost. I see that the ordering was changed from finding Boost then BTAS to the other way around so that BTAS can find Boost itself, so I am not sure if the fix is to change the ordering back, to get BTAS to download Boost, or to update the documentation to note this conflict.
Steps to reproduce
Build TiledArray from scratch on a system that does not have Boost or BTAS already installed.
Details
I am trying to build TiledArray in an environment that does not have Boost or BTAS. Based on INSTALL.md, I figured that both will be downloaded and installed, but instead, I get an error from the configuration of BTAS:
Looking at the
boost.cmake
from BTAS, it looks like it is a required package, and BTAS doesn't download boost, so since TiledArray finds or fetches BTAS before Boost, TiledArray doesn't get a chance to download Boost. I see that the ordering was changed from finding Boost then BTAS to the other way around so that BTAS can find Boost itself, so I am not sure if the fix is to change the ordering back, to get BTAS to download Boost, or to update the documentation to note this conflict.Steps to reproduce
Build TiledArray from scratch on a system that does not have Boost or BTAS already installed.
Configuration
The text was updated successfully, but these errors were encountered: