Repository navigation
Workaround isnan across different environments. - #4883
Conversation
std::isnan except in R.isnan across different environments.
|
@melonki Could you please help verifying this PR fix the error you encountered? You can copy this PR into a local branch by: |
|
I built it on Ubuntu 19.04 with R and cuda 9.2. |
Thank you for your solution but the errors still exist. I am not sure whether I used the PR in the right way. The details are in the attach file. |
|
@melonki Could you try clearing out your build directory (maybe created by msvc, I don't know)? From your error log, there are lots of unrelated errors like: and many others. The above listed missing headers by default are not used in XGBoost, unless you explicitly asked so by providing corresponding CMake parameters. |
okay, I'll try it again. |
I uninstalled xgboost package in R studio and deleted xgboost folder in my directory and installed it all over again, but the errors still exist. The details are in the attach file. |
|
@melonki Please take a look at : https://xgboost.readthedocs.io/en/latest/build.html#installing-r-package-with-gpu-support I don't think you need to do: Using cmake install should be enough. |
It worked! Thank you for your suggestion! |
|
@melonki Great! |
Closes #4882. Haven't verify the fix yet. Just trying to see general test results.