Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile XGBoost on Windows #4197

Closed
hcho3 opened this issue Mar 3, 2019 · 4 comments
Closed

Cannot compile XGBoost on Windows #4197

hcho3 opened this issue Mar 3, 2019 · 4 comments

Comments

@hcho3
Copy link
Collaborator

hcho3 commented Mar 3, 2019

I just tried compiling XGBoost on a Windows machine and getting this error:

"C:\Users\Administrator\Desktop\xgboost\build\xgboost.sln" (default target) (1) ->                                       
"C:\Users\Administrator\Desktop\xgboost\build\gpuxgboost.vcxproj.metaproj" (default target) (4) ->                       
"C:\Users\Administrator\Desktop\xgboost\build\gpuxgboost.vcxproj" (default target) (12) ->                               
   (CustomBuild target) ->                                                                                                 
CUSTOMBUILD : nvcc error : 'cicc' died with status 0xC0000005 (ACCESS_VIOLATION)
[C:\Users\Administrator\Desktop\xgboost\build\gpuxgboost.vcxproj]

I'm using EC2 instance (p2.xlarge) with CUDA 8.0, Visual Studio 2015, and Windows 2008 R2.

Compilation command:

mkdir build
cd build
cmake .. -G"Visual Studio 14 2015 Win64" -DUSE_CUDA=ON
msbuild xgboost.sln /p:Configuration=Release /m

@RAMitchell @mt-jones @trivialfis @rongou

@hcho3
Copy link
Collaborator Author

hcho3 commented Mar 3, 2019

This is part of effort #3868

@hcho3
Copy link
Collaborator Author

hcho3 commented Mar 3, 2019

I'll be focusing on the 0.82 release for the time being. This means that the Python wheel for Windows won't be available right away.

@RAMitchell
Copy link
Member

I will have a look in the next couple of days

@hcho3
Copy link
Collaborator Author

hcho3 commented Mar 4, 2019

@RAMitchell Hmm, I tried using another Windows EC2 image I had, and XGBoost compiles successfully on that machine. This should be good enough for 0.82 release.

@hcho3 hcho3 closed this as completed Mar 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants