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
How to install OpenMP version in R (Mac OS) #1136
Comments
re: Makevars...I made the changes in ~/.R/Makevars. In addition to the SHLIB flags, I had to change to compiler to "clang-omp". For the compiler I used brew to install the version of clang that supported OpenMP. |
I finally get this to work by using following code modified from @jimthompson5802 's answer. The code is put into
In my case R would search I get a bunch of Also since I have followed the official building instructions for mac os, I have gcc installed and with it I successfully built the "main" xgboost with OpenMP before. Thus I suggets for anyone who have followed the same instructions like me have their |
In my case, I have to set up more
|
Greetings.
I need some help in understanding the instructions for installing OpenMP version in R (Mac OS). The following statement is quiet confusing to me:
What does it mean by "Set the Makevars file in highest piority for R"? How can I deal with the priority? What shall I do to set the "SHLIB_OPENMP_CXXFLAGS" variable?
The text was updated successfully, but these errors were encountered: