{"action":"closed","number":517,"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/517","id":62234101,"html_url":"https://github.com/LLNL/spack/pull/517","diff_url":"https://github.com/LLNL/spack/pull/517.diff","patch_url":"https://github.com/LLNL/spack/pull/517.patch","issue_url":"https://api.github.com/repos/LLNL/spack/issues/517","number":517,"state":"closed","locked":false,"title":"Improved package : petsc","user":{"login":"alalazo","id":4199709,"avatar_url":"https://avatars.githubusercontent.com/u/4199709?v=3","gravatar_id":"","url":"https://api.github.com/users/alalazo","html_url":"https://github.com/alalazo","followers_url":"https://api.github.com/users/alalazo/followers","following_url":"https://api.github.com/users/alalazo/following{/other_user}","gists_url":"https://api.github.com/users/alalazo/gists{/gist_id}","starred_url":"https://api.github.com/users/alalazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalazo/subscriptions","organizations_url":"https://api.github.com/users/alalazo/orgs","repos_url":"https://api.github.com/users/alalazo/repos","events_url":"https://api.github.com/users/alalazo/events{/privacy}","received_events_url":"https://api.github.com/users/alalazo/received_events","type":"User","site_admin":false},"body":"##### Modifications : \r\n- [x] added variants for `mpi`, `shared`, `double` (floating point precision)\r\n- [x] added variants for a bunch of supported dependencies\r\n\r\n##### Note :\r\nAfter `do_install` the build will possibly fail with an error that is unrelated to the package modifications: \r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/culpo/github/spack/bin/spack\", line 176, in <module>\r\n    main()\r\n  File \"/home/culpo/github/spack/bin/spack\", line 154, in main\r\n    return_val = command(parser, args)\r\n  File \"/home/culpo/github/spack/lib/spack/spack/cmd/install.py\", line 81, in install\r\n    fake=args.fake)\r\n  File \"/home/culpo/github/spack/lib/spack/spack/package.py\", line 946, in do_install\r\n    spack.hooks.post_install(self)\r\n  File \"/home/culpo/github/spack/lib/spack/spack/hooks/__init__.py\", line 69, in __call__\r\n    hook(pkg)\r\n  File \"/home/culpo/github/spack/lib/spack/spack/hooks/sbang.py\", line 75, in post_install\r\n    if shebang_too_long(path):\r\n  File \"/home/culpo/github/spack/lib/spack/spack/hooks/sbang.py\", line 39, in shebang_too_long\r\n    with open(path, 'r') as script:\r\nIOError: [Errno 21] Is a directory: '/home/culpo/github/spack/opt/spack/x86_E5v2_IntelIB/gcc-4.4.7/petsc-3.6.3-oaidkcmi2x6fggx2dclhu6lh63elebvi/bin/julia'\r\n```\r\nI didn't solve that yet and I am not sure if we want it to be part of this PR. I assume it may be related to #497.","created_at":"2016-03-09T14:15:39Z","updated_at":"2016-03-09T16:39:41Z","closed_at":"2016-03-09T16:39:41Z","merged_at":"2016-03-09T16:39:41Z","merge_commit_sha":"0a863e9e0476f7db763ba46152e959c113406a4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LLNL/spack/pulls/517/commits","review_comments_url":"https://api.github.com/repos/LLNL/spack/pulls/517/comments","review_comment_url":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/517/comments","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/24fe8699eaf7b8965fc3b3fdbdf58ffb33b0e7cb","head":{"label":"epfl-scitas:packages/petsc","ref":"packages/petsc","sha":"24fe8699eaf7b8965fc3b3fdbdf58ffb33b0e7cb","user":{"login":"epfl-scitas","id":14820957,"avatar_url":"https://avatars.githubusercontent.com/u/14820957?v=3","gravatar_id":"","url":"https://api.github.com/users/epfl-scitas","html_url":"https://github.com/epfl-scitas","followers_url":"https://api.github.com/users/epfl-scitas/followers","following_url":"https://api.github.com/users/epfl-scitas/following{/other_user}","gists_url":"https://api.github.com/users/epfl-scitas/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-scitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-scitas/subscriptions","organizations_url":"https://api.github.com/users/epfl-scitas/orgs","repos_url":"https://api.github.com/users/epfl-scitas/repos","events_url":"https://api.github.com/users/epfl-scitas/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-scitas/received_events","type":"Organization","site_admin":false},"repo":{"id":43118298,"name":"spack","full_name":"epfl-scitas/spack","owner":{"login":"epfl-scitas","id":14820957,"avatar_url":"https://avatars.githubusercontent.com/u/14820957?v=3","gravatar_id":"","url":"https://api.github.com/users/epfl-scitas","html_url":"https://github.com/epfl-scitas","followers_url":"https://api.github.com/users/epfl-scitas/followers","following_url":"https://api.github.com/users/epfl-scitas/following{/other_user}","gists_url":"https://api.github.com/users/epfl-scitas/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-scitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-scitas/subscriptions","organizations_url":"https://api.github.com/users/epfl-scitas/orgs","repos_url":"https://api.github.com/users/epfl-scitas/repos","events_url":"https://api.github.com/users/epfl-scitas/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-scitas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epfl-scitas/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":true,"url":"https://api.github.com/repos/epfl-scitas/spack","forks_url":"https://api.github.com/repos/epfl-scitas/spack/forks","keys_url":"https://api.github.com/repos/epfl-scitas/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epfl-scitas/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epfl-scitas/spack/teams","hooks_url":"https://api.github.com/repos/epfl-scitas/spack/hooks","issue_events_url":"https://api.github.com/repos/epfl-scitas/spack/issues/events{/number}","events_url":"https://api.github.com/repos/epfl-scitas/spack/events","assignees_url":"https://api.github.com/repos/epfl-scitas/spack/assignees{/user}","branches_url":"https://api.github.com/repos/epfl-scitas/spack/branches{/branch}","tags_url":"https://api.github.com/repos/epfl-scitas/spack/tags","blobs_url":"https://api.github.com/repos/epfl-scitas/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epfl-scitas/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epfl-scitas/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/epfl-scitas/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epfl-scitas/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/epfl-scitas/spack/languages","stargazers_url":"https://api.github.com/repos/epfl-scitas/spack/stargazers","contributors_url":"https://api.github.com/repos/epfl-scitas/spack/contributors","subscribers_url":"https://api.github.com/repos/epfl-scitas/spack/subscribers","subscription_url":"https://api.github.com/repos/epfl-scitas/spack/subscription","commits_url":"https://api.github.com/repos/epfl-scitas/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/epfl-scitas/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/epfl-scitas/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/epfl-scitas/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/epfl-scitas/spack/contents/{+path}","compare_url":"https://api.github.com/repos/epfl-scitas/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epfl-scitas/spack/merges","archive_url":"https://api.github.com/repos/epfl-scitas/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epfl-scitas/spack/downloads","issues_url":"https://api.github.com/repos/epfl-scitas/spack/issues{/number}","pulls_url":"https://api.github.com/repos/epfl-scitas/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/epfl-scitas/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/epfl-scitas/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epfl-scitas/spack/labels{/name}","releases_url":"https://api.github.com/repos/epfl-scitas/spack/releases{/id}","deployments_url":"https://api.github.com/repos/epfl-scitas/spack/deployments","created_at":"2015-09-25T08:01:24Z","updated_at":"2016-01-12T20:14:40Z","pushed_at":"2016-03-09T14:58:37Z","git_url":"git://github.com/epfl-scitas/spack.git","ssh_url":"git@github.com:epfl-scitas/spack.git","clone_url":"https://github.com/epfl-scitas/spack.git","svn_url":"https://github.com/epfl-scitas/spack","homepage":"http://scalability-llnl.github.io/spack","size":4724,"stargazers_count":1,"watchers_count":1,"language":"Python","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":1,"default_branch":"scitas-develop"}},"base":{"label":"LLNL:develop","ref":"develop","sha":"9c6184373752746e1219263c1afd9d1955911891","user":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"repo":{"id":15730865,"name":"spack","full_name":"LLNL/spack","owner":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLNL/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":false,"url":"https://api.github.com/repos/LLNL/spack","forks_url":"https://api.github.com/repos/LLNL/spack/forks","keys_url":"https://api.github.com/repos/LLNL/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLNL/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLNL/spack/teams","hooks_url":"https://api.github.com/repos/LLNL/spack/hooks","issue_events_url":"https://api.github.com/repos/LLNL/spack/issues/events{/number}","events_url":"https://api.github.com/repos/LLNL/spack/events","assignees_url":"https://api.github.com/repos/LLNL/spack/assignees{/user}","branches_url":"https://api.github.com/repos/LLNL/spack/branches{/branch}","tags_url":"https://api.github.com/repos/LLNL/spack/tags","blobs_url":"https://api.github.com/repos/LLNL/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLNL/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLNL/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLNL/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/LLNL/spack/languages","stargazers_url":"https://api.github.com/repos/LLNL/spack/stargazers","contributors_url":"https://api.github.com/repos/LLNL/spack/contributors","subscribers_url":"https://api.github.com/repos/LLNL/spack/subscribers","subscription_url":"https://api.github.com/repos/LLNL/spack/subscription","commits_url":"https://api.github.com/repos/LLNL/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLNL/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLNL/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLNL/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLNL/spack/contents/{+path}","compare_url":"https://api.github.com/repos/LLNL/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLNL/spack/merges","archive_url":"https://api.github.com/repos/LLNL/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLNL/spack/downloads","issues_url":"https://api.github.com/repos/LLNL/spack/issues{/number}","pulls_url":"https://api.github.com/repos/LLNL/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/LLNL/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/LLNL/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLNL/spack/labels{/name}","releases_url":"https://api.github.com/repos/LLNL/spack/releases{/id}","deployments_url":"https://api.github.com/repos/LLNL/spack/deployments","created_at":"2014-01-08T09:22:12Z","updated_at":"2016-03-08T15:35:07Z","pushed_at":"2016-03-09T16:39:41Z","git_url":"git://github.com/LLNL/spack.git","ssh_url":"git@github.com:LLNL/spack.git","clone_url":"https://github.com/LLNL/spack.git","svn_url":"https://github.com/LLNL/spack","homepage":"http://software.llnl.gov/spack","size":11037,"stargazers_count":94,"watchers_count":94,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":103,"forks":82,"open_issues":103,"watchers":94,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/517"},"html":{"href":"https://github.com/LLNL/spack/pull/517"},"issue":{"href":"https://api.github.com/repos/LLNL/spack/issues/517"},"comments":{"href":"https://api.github.com/repos/LLNL/spack/issues/517/comments"},"review_comments":{"href":"https://api.github.com/repos/LLNL/spack/pulls/517/comments"},"review_comment":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLNL/spack/pulls/517/commits"},"statuses":{"href":"https://api.github.com/repos/LLNL/spack/statuses/24fe8699eaf7b8965fc3b3fdbdf58ffb33b0e7cb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tgamblin","id":299842,"avatar_url":"https://avatars.githubusercontent.com/u/299842?v=3","gravatar_id":"","url":"https://api.github.com/users/tgamblin","html_url":"https://github.com/tgamblin","followers_url":"https://api.github.com/users/tgamblin/followers","following_url":"https://api.github.com/users/tgamblin/following{/other_user}","gists_url":"https://api.github.com/users/tgamblin/gists{/gist_id}","starred_url":"https://api.github.com/users/tgamblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgamblin/subscriptions","organizations_url":"https://api.github.com/users/tgamblin/orgs","repos_url":"https://api.github.com/users/tgamblin/repos","events_url":"https://api.github.com/users/tgamblin/events{/privacy}","received_events_url":"https://api.github.com/users/tgamblin/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":2,"additions":69,"deletions":23,"changed_files":1}}