← All tasks
cppdmlc/xgboost #3586Not a task: not reproduced

xgboost (0.80) multi gpu build from source (Could NOT find Nccl)

envgap__dmlc__xgboost-3586

Original GitHub issue ↗Opened 2018-08-14

01 / FAILURE SIGNATURE

As reported upstream

-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Not a benchmark task.
  • No curated issue-specific recipe or verified environment fix is available.

02 / ENVIRONMENT RECIPE

Base commit
Not freshly verified
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

dmlc/xgboost #3586 · read the original issue
Hello,



Anyone can help me with the following issue?

I just follow the instruction to build xgboost with mutiple gpu:

https://xgboost.readthedocs.io/en/latest/build.html.



I have also set the environmental variable by



LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/nccl_2.2.13/lib

export LD_LIBRARY_PATH

NCCL_INCLUDE_DIR=/tmp/nccl_2.2.13

export NCCL_INCLUDE_DIR

NCCL_LIBRARY=/tmp/nccl_2.2.13/lib

export NCCL_LIBRARY



The log is:

$ cmake .. -DUSE_CUDA=ON -DUSE_NCCL=ON

-- The C compiler identification is GNU 4.8.5

-- The CXX compiler identification is GNU 4.8.5

-- Check for working C compiler: /usr/lib64/ccache/cc

-- Check for working C compiler: /usr/lib64/ccache/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /usr/lib64/ccache/c++

-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Found OpenMP_C: -fopenmp (found version "3.1") 

-- Found OpenMP_CXX: -fopenmp (found version "3.1") 

-- Found OpenMP: TRUE (found version "3.1")  

-- Setting build type to 'Release' as none was specified.

-- Performing Test SUPPORT_CXX11

-- Performing Test SUPPORT_CXX11 - Success

-- Performing Test SUPPORT_CXX0X

-- Performing Test SUPPORT_CXX0X - Success

-- Performing Test SUPPORT_MSSE2

-- Performing Test SUPPORT_MSSE2 - Success

-- Found OpenMP_C: -fopenmp (found version "3.1") 

-- Found OpenMP_CXX: -fopenmp (found version "3.1") 

-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) 

CMake Warning at dmlc-core/test/unittest/CMakeLists.txt:37 (message):

  Google Test not found





-- Looking for pthread.h

-- Looking for pthread.h - found

-- Looking for pthread_create

-- Looking for pthread_create - not found

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - found

-- Found Threads: TRUE  

-- Found CUDA: /usr/local/cuda (found suitable version "9.2", minimum required is "8.0") 

CMake Error at /tmp/cmake-3.12.1/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

  Could NOT find Nccl (missing: NCCL_INCLUDE_DIR NCCL_LIBRARY)

Call Stack (most recent call first):

  /tmp/cmake-3.12.1/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)

  cmake/modules/FindNccl.cmake:51 (find_package_handle_standard_args)

  CMakeLists.txt:134 (find_package)





-- Configuring incomplete, errors occurred!

See also "/tmp/xgboost_mgpu/build/CMakeFiles/CMakeOutput.log".

See also "/tmp/xgboost_mgpu/build/CMakeFiles/CMakeError.log".

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]

Issue-specific recipe and runtime smoke command require review against the complete issue and repository.

Legacy reproduction is generic install-only; match the actual issue failure before admission.