Build XGBoost from source on PowerPC (Power8)


#1

I am trying to build distributed XGBoost from source as described in the installation guide:
cmake .. -DUSE_CUDA=ON -DUSE_NCCL=ON -DNCCL_ROOT=<path_nccl>
but getting the following error:

DMLC_ROOT point to /gpfs/alpine/world-shared/gen011/shubhankar/summitdev/xgboost/rabit/../dmlc-core
-- Using nccl library: NCCL_LIBRARY-NOTFOUND
CMake Error at /autofs/nccs-svm1_sw/summitdev/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/cmake-3.15.2-xit2o3iepxvqbyku77lwcugufilztu7t/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Nccl (missing: NCCL_INCLUDE_DIR NCCL_LIBRARY)
Call Stack (most recent call first):
  /autofs/nccs-svm1_sw/summitdev/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/cmake-3.15.2-xit2o3iepxvqbyku77lwcugufilztu7t/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindNccl.cmake:59 (find_package_handle_standard_args)
  src/CMakeLists.txt:21 (find_package)


-- Configuring incomplete, errors occurred!
See also "/gpfs/alpine/world-shared/gen011/shubhankar/summitdev/xgboost/build/CMakeFiles/CMakeOutput.log".
See also "/gpfs/alpine/world-shared/gen011/shubhankar/summitdev/xgboost/build/CMakeFiles/CMakeError.log".

CMakeError.log


#2

Found the solution please close this post. I had messed up the nccl path.