{"action":"created","issue":{"url":"https://api.github.com/repos/bh107/bohrium/issues/7","labels_url":"https://api.github.com/repos/bh107/bohrium/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/bh107/bohrium/issues/7/comments","events_url":"https://api.github.com/repos/bh107/bohrium/issues/7/events","html_url":"https://github.com/bh107/bohrium/issues/7","id":84303812,"number":7,"title":"cpu_set_t not found when building on OSX","user":{"login":"fjarri","id":30720,"avatar_url":"https://avatars.githubusercontent.com/u/30720?v=3","gravatar_id":"","url":"https://api.github.com/users/fjarri","html_url":"https://github.com/fjarri","followers_url":"https://api.github.com/users/fjarri/followers","following_url":"https://api.github.com/users/fjarri/following{/other_user}","gists_url":"https://api.github.com/users/fjarri/gists{/gist_id}","starred_url":"https://api.github.com/users/fjarri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjarri/subscriptions","organizations_url":"https://api.github.com/users/fjarri/orgs","repos_url":"https://api.github.com/users/fjarri/repos","events_url":"https://api.github.com/users/fjarri/events{/privacy}","received_events_url":"https://api.github.com/users/fjarri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kenkendk","id":1510755,"avatar_url":"https://avatars.githubusercontent.com/u/1510755?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkendk","html_url":"https://github.com/kenkendk","followers_url":"https://api.github.com/users/kenkendk/followers","following_url":"https://api.github.com/users/kenkendk/following{/other_user}","gists_url":"https://api.github.com/users/kenkendk/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkendk/subscriptions","organizations_url":"https://api.github.com/users/kenkendk/orgs","repos_url":"https://api.github.com/users/kenkendk/repos","events_url":"https://api.github.com/users/kenkendk/events{/privacy}","received_events_url":"https://api.github.com/users/kenkendk/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-06-03T01:45:27Z","updated_at":"2015-06-11T07:38:58Z","closed_at":null,"body":"I'm trying to build Bohrium manually on OSX 10.10, and getting the following errors:\r\n\r\n    [ 76%] Building CXX object vem/cluster/CMakeFiles/bh_vem_cluster.dir/pgrid.cpp.o\r\n    /Users/bogdan/wb/repos/bohrium/vem/cluster/pgrid.cpp:87:9: error: unknown type name 'cpu_set_t'\r\n            cpu_set_t cpuset;\r\n            ^\r\n    /Users/bogdan/wb/repos/bohrium/vem/cluster/pgrid.cpp:91:37: error: use of undeclared identifier\r\n          'cpu_set_t'; did you mean 'cpuset'?\r\n            sched_setaffinity(0, sizeof(cpu_set_t), &cpuset);\r\n                                        ^~~~~~~~~\r\n                                        cpuset\r\n    /Users/bogdan/wb/repos/bohrium/vem/cluster/pgrid.cpp:87:19: note: 'cpuset' declared here\r\n            cpu_set_t cpuset;\r\n                      ^\r\n    /Users/bogdan/wb/repos/bohrium/vem/cluster/pgrid.cpp:102:37: error: use of undeclared identifier\r\n          'sched_getcpu'\r\n                pgrid_myrank, hostname, sched_getcpu(), buf);\r\n                                        ^\r\n\r\nIt seems that this structure should be defined in `bits/sched.h`, but I can't find this file on my system (or any other header with this definition). I followed the instructions from http://bohrium.readthedocs.org/installation/osx.html for manual installation. I'm open to any suggestions on how to debug this further.\r\n"},"comment":{"url":"https://api.github.com/repos/bh107/bohrium/issues/comments/111030768","html_url":"https://github.com/bh107/bohrium/issues/7#issuecomment-111030768","issue_url":"https://api.github.com/repos/bh107/bohrium/issues/7","id":111030768,"user":{"login":"fjarri","id":30720,"avatar_url":"https://avatars.githubusercontent.com/u/30720?v=3","gravatar_id":"","url":"https://api.github.com/users/fjarri","html_url":"https://github.com/fjarri","followers_url":"https://api.github.com/users/fjarri/followers","following_url":"https://api.github.com/users/fjarri/following{/other_user}","gists_url":"https://api.github.com/users/fjarri/gists{/gist_id}","starred_url":"https://api.github.com/users/fjarri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjarri/subscriptions","organizations_url":"https://api.github.com/users/fjarri/orgs","repos_url":"https://api.github.com/users/fjarri/repos","events_url":"https://api.github.com/users/fjarri/events{/privacy}","received_events_url":"https://api.github.com/users/fjarri/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T07:38:58Z","updated_at":"2015-06-11T07:38:58Z","body":"I'm using Py2.7.9, using the tests from your link it's 64 bit. After removing everything and doing the clean install, the problem persists. The libraries in question seem to be multi-arch:\r\n\r\n    > file /Users/bogdan/.local/lib/libbh_vem_node.dylib\r\n    /Users/bogdan/.local/lib/libbh_vem_node.dylib: Mach-O universal binary with 2 architectures\r\n    /Users/bogdan/.local/lib/libbh_vem_node.dylib (for architecture i386):\tMach-O dynamically linked shared library i386\r\n    /Users/bogdan/.local/lib/libbh_vem_node.dylib (for architecture x86_64):\tMach-O 64-bit dynamically linked shared library x86_64\r\n    > file /Users/bogdan/.local/lib/libbh.dylib\r\n    /Users/bogdan/.local/lib/libbh.dylib: Mach-O universal binary with 2 architectures\r\n    /Users/bogdan/.local/lib/libbh.dylib (for architecture i386):\tMach-O dynamically linked shared library i386\r\n    /Users/bogdan/.local/lib/libbh.dylib (for architecture x86_64):\tMach-O 64-bit dynamically linked shared library x86_64\r\n\r\nBy the way, why is there a \"vem\" library when I explicitly disabled it during compilation?"}}