{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/1835","repository_url":"https://api.github.com/repos/dmlc/xgboost","labels_url":"https://api.github.com/repos/dmlc/xgboost/issues/1835/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/1835/comments","events_url":"https://api.github.com/repos/dmlc/xgboost/issues/1835/events","html_url":"https://github.com/dmlc/xgboost/issues/1835","id":193156605,"number":1835,"title":"OSX installation trouble on 10.12.1","user":{"login":"ben519","id":723099,"avatar_url":"https://avatars.githubusercontent.com/u/723099?v=3","gravatar_id":"","url":"https://api.github.com/users/ben519","html_url":"https://github.com/ben519","followers_url":"https://api.github.com/users/ben519/followers","following_url":"https://api.github.com/users/ben519/following{/other_user}","gists_url":"https://api.github.com/users/ben519/gists{/gist_id}","starred_url":"https://api.github.com/users/ben519/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben519/subscriptions","organizations_url":"https://api.github.com/users/ben519/orgs","repos_url":"https://api.github.com/users/ben519/repos","events_url":"https://api.github.com/users/ben519/events{/privacy}","received_events_url":"https://api.github.com/users/ben519/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-02T16:21:55Z","updated_at":"2016-12-03T00:29:46Z","closed_at":null,"body":"I'm trying to install xgboost with multi-threading for R. I had this working on OSX 10.11 but I recently upgraded to 10.12.1 and now I'm running into some trouble. Note that I'm following the instructions in [building-on-osx](https://xgboost.readthedocs.io/en/latest/build.html#building-on-osx).\r\n\r\nFirst I ran `brew install homebrew/versions/gcc6`\r\n\r\n```\r\nbenjamins-MacBook-Pro-3:~ Ben$ brew install homebrew/versions/gcc6\r\n==> Tapping homebrew/versions\r\nCloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions'...\r\nremote: Counting objects: 218, done.\r\nremote: Compressing objects: 100% (212/212), done.\r\nremote: Total 218 (delta 21), reused 42 (delta 5), pack-reused 0\r\nReceiving objects: 100% (218/218), 259.40 KiB | 0 bytes/s, done.\r\nResolving deltas: 100% (21/21), done.\r\nChecking connectivity... done.\r\nTapped 209 formulae (238 files, 960.8K)\r\n==> Installing gcc6 from homebrew/versions\r\n==> Installing dependencies for homebrew/versions/gcc6: gmp, mpfr, isl014\r\n==> Installing homebrew/versions/gcc6 dependency: gmp\r\n==> Downloading https://homebrew.bintray.com/bottles/gmp-6.1.1.sierra.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==> Pouring gmp-6.1.1.sierra.bottle.tar.gz\r\n🍺  /usr/local/Cellar/gmp/6.1.1: 17 files, 3.2M\r\n==> Installing homebrew/versions/gcc6 dependency: mpfr\r\n==> Downloading https://homebrew.bintray.com/bottles/mpfr-3.1.5.sierra.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==> Pouring mpfr-3.1.5.sierra.bottle.tar.gz\r\n🍺  /usr/local/Cellar/mpfr/3.1.5: 25 files, 3.6M\r\n==> Installing homebrew/versions/gcc6 dependency: isl014\r\n==> Downloading http://isl.gforge.inria.fr/isl-0.14.tar.bz2\r\n######################################################################## 100.0%\r\n==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/isl014/0.14 --with-gmp=system --with-gmp-prefix=/usr/local/opt/gmp\r\n==> make\r\n==> make install\r\n==> Caveats\r\nThis formula is keg-only, which means it was not symlinked into /usr/local.\r\n\r\nConflicts with isl in main repository.\r\n\r\nGenerally there are no consequences of this for you. If you build your\r\nown software and it requires this formula, you'll need to add to your\r\nbuild variables:\r\n\r\n    LDFLAGS:  -L/usr/local/opt/isl014/lib\r\n    CPPFLAGS: -I/usr/local/opt/isl014/include\r\n    PKG_CONFIG_PATH: /usr/local/opt/isl014/lib/pkgconfig\r\n\r\n==> Summary\r\n🍺  /usr/local/Cellar/isl014/0.14: 70 files, 3.2M, built in 30 seconds\r\n==> Installing homebrew/versions/gcc6\r\n==> Downloading https://homebrew.bintray.com/bottles-versions/gcc6-6.2.0.sierra.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==> Pouring gcc6-6.2.0.sierra.bottle.tar.gz\r\n🍺  /usr/local/Cellar/gcc6/6.2.0: 1,434 files, 274.7M\r\n```\r\n\r\nNo errors, but note the *Caveat*.  Now if I try\r\n\r\n```\r\nbenjamins-MacBook-Pro-3:~ Ben$ which clang-omp++\r\nbenjamins-MacBook-Pro-3:~ Ben$ \r\n```\r\n\r\nI get nothing.  I read in another issue-thread that this means the installation was unsuccessful ([see here](https://github.com/dmlc/xgboost/issues/1446#issuecomment-257536623)).  Also note the following\r\n\r\n```\r\nbenjamins-MacBook-Pro-3:~ Ben$ which clang\r\n/usr/bin/clang\r\nbenjamins-MacBook-Pro-3:~ Ben$ which clang++\r\n/usr/bin/clang++\r\nbenjamins-MacBook-Pro-3:~ Ben$ \r\n```\r\n\r\nNot sure if this is relevant, but I use R's `data.table` package which enables multi-threading so I've already (successfully) followed their [openmp-enabled-compiler-for-mac](https://github.com/Rdatatable/data.table/wiki/Installation#openmp-enabled-compiler-for-mac) instructions.  Could it be causing a conflict?"},"comment":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/comments/264598665","html_url":"https://github.com/dmlc/xgboost/issues/1835#issuecomment-264598665","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/1835","id":264598665,"user":{"login":"ben519","id":723099,"avatar_url":"https://avatars.githubusercontent.com/u/723099?v=3","gravatar_id":"","url":"https://api.github.com/users/ben519","html_url":"https://github.com/ben519","followers_url":"https://api.github.com/users/ben519/followers","following_url":"https://api.github.com/users/ben519/following{/other_user}","gists_url":"https://api.github.com/users/ben519/gists{/gist_id}","starred_url":"https://api.github.com/users/ben519/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben519/subscriptions","organizations_url":"https://api.github.com/users/ben519/orgs","repos_url":"https://api.github.com/users/ben519/repos","events_url":"https://api.github.com/users/ben519/events{/privacy}","received_events_url":"https://api.github.com/users/ben519/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T00:29:46Z","updated_at":"2016-12-03T00:29:46Z","body":"I worked through the installation process again.  Still unsuccessful, but I documented my steps very clearly in [this StackOverflow question](http://stackoverflow.com/questions/40942893/how-to-install-xgboost-on-osx-with-multi-threading).  Hoping this will help someone easily spot my error."}}
{"actor":{"display_login":"ben519"}}