{"action":"closed","number":293,"pull_request":{"url":"https://api.github.com/repos/nipy/nipy/pulls/293","id":8341594,"html_url":"https://github.com/nipy/nipy/pull/293","diff_url":"https://github.com/nipy/nipy/pull/293.diff","patch_url":"https://github.com/nipy/nipy/pull/293.patch","issue_url":"https://api.github.com/repos/nipy/nipy/issues/293","number":293,"state":"closed","locked":false,"title":"WIP: hack to make nipy compile on linux with mkl","user":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"body":"This is a WIP to allow nipy to be compiled under anaconda on linux with mkl support. unfortunately `numpy.get_info()` returns libraries that are not allowed to be distributed with mkl (mkl_lapack95_lp64).\r\n\r\nThis ideally should be fixed in numpy, but this hack allows nipy to compile.\r\n\r\n```\r\nIn [3]: np.show_config()\r\nlapack_opt_info:\r\n    libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']\r\n    library_dirs = ['/software/python/anaconda/envs/resting/lib']\r\n    define_macros = [('SCIPY_MKL_H', None)]\r\n    include_dirs = ['/software/python/anaconda/envs/resting/include']\r\nblas_opt_info:\r\n    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']\r\n    library_dirs = ['/software/python/anaconda/envs/resting/lib']\r\n    define_macros = [('SCIPY_MKL_H', None)]\r\n    include_dirs = ['/software/python/anaconda/envs/resting/include']\r\nlapack_mkl_info:\r\n    libraries = ['mkl_lapack95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']\r\n    library_dirs = ['/software/python/anaconda/envs/resting/lib']\r\n    define_macros = [('SCIPY_MKL_H', None)]\r\n    include_dirs = ['/software/python/anaconda/envs/resting/include']\r\nblas_mkl_info:\r\n    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']\r\n    library_dirs = ['/software/python/anaconda/envs/resting/lib']\r\n    define_macros = [('SCIPY_MKL_H', None)]\r\n    include_dirs = ['/software/python/anaconda/envs/resting/include']\r\nmkl_info:\r\n    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']\r\n    library_dirs = ['/software/python/anaconda/envs/resting/lib']\r\n    define_macros = [('SCIPY_MKL_H', None)]\r\n    include_dirs = ['/software/python/anaconda/envs/resting/include']\r\n```","created_at":"2013-09-16T02:29:02Z","updated_at":"2015-09-06T05:41:43Z","closed_at":"2015-09-06T05:41:43Z","merged_at":null,"merge_commit_sha":"e2db02db86a6c39e03b80752b654524cc897d865","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nipy/nipy/pulls/293/commits","review_comments_url":"https://api.github.com/repos/nipy/nipy/pulls/293/comments","review_comment_url":"https://api.github.com/repos/nipy/nipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/nipy/issues/293/comments","statuses_url":"https://api.github.com/repos/nipy/nipy/statuses/a26eb3816139772fa1b118855ff2994dd3c4131e","head":{"label":"satra:fix/mkl_info","ref":"fix/mkl_info","sha":"a26eb3816139772fa1b118855ff2994dd3c4131e","user":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"repo":{"id":643649,"name":"nipy","full_name":"satra/nipy","owner":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/satra/nipy","description":"Neuroimaging in python","fork":true,"url":"https://api.github.com/repos/satra/nipy","forks_url":"https://api.github.com/repos/satra/nipy/forks","keys_url":"https://api.github.com/repos/satra/nipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/satra/nipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/satra/nipy/teams","hooks_url":"https://api.github.com/repos/satra/nipy/hooks","issue_events_url":"https://api.github.com/repos/satra/nipy/issues/events{/number}","events_url":"https://api.github.com/repos/satra/nipy/events","assignees_url":"https://api.github.com/repos/satra/nipy/assignees{/user}","branches_url":"https://api.github.com/repos/satra/nipy/branches{/branch}","tags_url":"https://api.github.com/repos/satra/nipy/tags","blobs_url":"https://api.github.com/repos/satra/nipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/satra/nipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/satra/nipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/satra/nipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/satra/nipy/statuses/{sha}","languages_url":"https://api.github.com/repos/satra/nipy/languages","stargazers_url":"https://api.github.com/repos/satra/nipy/stargazers","contributors_url":"https://api.github.com/repos/satra/nipy/contributors","subscribers_url":"https://api.github.com/repos/satra/nipy/subscribers","subscription_url":"https://api.github.com/repos/satra/nipy/subscription","commits_url":"https://api.github.com/repos/satra/nipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/satra/nipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/satra/nipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/satra/nipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/satra/nipy/contents/{+path}","compare_url":"https://api.github.com/repos/satra/nipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/satra/nipy/merges","archive_url":"https://api.github.com/repos/satra/nipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/satra/nipy/downloads","issues_url":"https://api.github.com/repos/satra/nipy/issues{/number}","pulls_url":"https://api.github.com/repos/satra/nipy/pulls{/number}","milestones_url":"https://api.github.com/repos/satra/nipy/milestones{/number}","notifications_url":"https://api.github.com/repos/satra/nipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/satra/nipy/labels{/name}","releases_url":"https://api.github.com/repos/satra/nipy/releases{/id}","created_at":"2010-05-02T22:58:18Z","updated_at":"2013-12-15T06:22:56Z","pushed_at":"2015-02-19T01:30:12Z","git_url":"git://github.com/satra/nipy.git","ssh_url":"git@github.com:satra/nipy.git","clone_url":"https://github.com/satra/nipy.git","svn_url":"https://github.com/satra/nipy","homepage":"http://nipy.sourceforge.net","size":32275,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"nipy:master","ref":"master","sha":"bb31c2170a8cbe8c1a6ce167e8e6812f4de3e4ff","user":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":642344,"name":"nipy","full_name":"nipy/nipy","owner":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nipy/nipy","description":"Neuroimaging in Python FMRI analysis package","fork":false,"url":"https://api.github.com/repos/nipy/nipy","forks_url":"https://api.github.com/repos/nipy/nipy/forks","keys_url":"https://api.github.com/repos/nipy/nipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/nipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/nipy/teams","hooks_url":"https://api.github.com/repos/nipy/nipy/hooks","issue_events_url":"https://api.github.com/repos/nipy/nipy/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/nipy/events","assignees_url":"https://api.github.com/repos/nipy/nipy/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/nipy/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/nipy/tags","blobs_url":"https://api.github.com/repos/nipy/nipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/nipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/nipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/nipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/nipy/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/nipy/languages","stargazers_url":"https://api.github.com/repos/nipy/nipy/stargazers","contributors_url":"https://api.github.com/repos/nipy/nipy/contributors","subscribers_url":"https://api.github.com/repos/nipy/nipy/subscribers","subscription_url":"https://api.github.com/repos/nipy/nipy/subscription","commits_url":"https://api.github.com/repos/nipy/nipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/nipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/nipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/nipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/nipy/nipy/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/nipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/nipy/merges","archive_url":"https://api.github.com/repos/nipy/nipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/nipy/downloads","issues_url":"https://api.github.com/repos/nipy/nipy/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/nipy/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/nipy/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/nipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/nipy/labels{/name}","releases_url":"https://api.github.com/repos/nipy/nipy/releases{/id}","created_at":"2010-05-02T10:00:33Z","updated_at":"2015-09-04T23:30:10Z","pushed_at":"2015-09-06T04:24:36Z","git_url":"git://github.com/nipy/nipy.git","ssh_url":"git@github.com:nipy/nipy.git","clone_url":"https://github.com/nipy/nipy.git","svn_url":"https://github.com/nipy/nipy","homepage":"http://nipy.org/nipy","size":37665,"stargazers_count":129,"watchers_count":129,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":69,"mirror_url":null,"open_issues_count":48,"forks":69,"open_issues":48,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/nipy/pulls/293"},"html":{"href":"https://github.com/nipy/nipy/pull/293"},"issue":{"href":"https://api.github.com/repos/nipy/nipy/issues/293"},"comments":{"href":"https://api.github.com/repos/nipy/nipy/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/nipy/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/nipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/nipy/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/nipy/statuses/a26eb3816139772fa1b118855ff2994dd3c4131e"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":24,"review_comments":0,"commits":3,"additions":20,"deletions":0,"changed_files":6}}