Xgboost GPU configuration

Eye damage with the wrong version of cmake So now, simply record it, the old rules, refer to the official document .

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
mkdir build
cd build
cmake .. -DUSE_CUDA=ON
make -j4

cd  ..
cd python-package
python setup.py install

Overall command line as described above, in compile time cmake cmake version will prompt higher than 3.12, there is a process to install the cmake3.14

> First in the official website HTTPS: // cmake.org/download/ download the corresponding package 
> After unpacking cd to the corresponding folder 
in turn execute the following command 
sudo ./ Bootstrap
 sudo  the make 
sudo  the make  install 

Finally cmake --version look version

 

Guess you like

Origin www.cnblogs.com/z1141000271/p/11519654.html