{"action":"created","comment":{"url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/comments/71992123","id":71992123,"diff_hunk":"@@ -13,15 +13,33 @@ export StructuredModel, getStructure, getparent, getchildren, getProcIdxSet,\n # ---------------\n # StructureData\n # ---------------\n+type MPIWrapper\n+    comm::MPI.Comm\n+    userInitMPI::Bool\n+\n+    function MPIWrapper(comm, user)\n+        @show comm, user","path":"src/StructJuMP.jl","position":9,"original_position":9,"commit_id":"db65cc3d52b29efb77c9e2484ec586d35c29de62","original_commit_id":"db65cc3d52b29efb77c9e2484ec586d35c29de62","user":{"login":"joehuchette","id":1373010,"avatar_url":"https://avatars.githubusercontent.com/u/1373010?v=3","gravatar_id":"","url":"https://api.github.com/users/joehuchette","html_url":"https://github.com/joehuchette","followers_url":"https://api.github.com/users/joehuchette/followers","following_url":"https://api.github.com/users/joehuchette/following{/other_user}","gists_url":"https://api.github.com/users/joehuchette/gists{/gist_id}","starred_url":"https://api.github.com/users/joehuchette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehuchette/subscriptions","organizations_url":"https://api.github.com/users/joehuchette/orgs","repos_url":"https://api.github.com/users/joehuchette/repos","events_url":"https://api.github.com/users/joehuchette/events{/privacy}","received_events_url":"https://api.github.com/users/joehuchette/received_events","type":"User","site_admin":false},"body":"leftover debugging code","created_at":"2016-07-24T17:26:15Z","updated_at":"2016-07-24T17:26:15Z","html_url":"https://github.com/StructJuMP/StructJuMP.jl/pull/23#discussion_r71992123","pull_request_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/comments/71992123"},"html":{"href":"https://github.com/StructJuMP/StructJuMP.jl/pull/23#discussion_r71992123"},"pull_request":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23","id":78420080,"html_url":"https://github.com/StructJuMP/StructJuMP.jl/pull/23","diff_url":"https://github.com/StructJuMP/StructJuMP.jl/pull/23.diff","patch_url":"https://github.com/StructJuMP/StructJuMP.jl/pull/23.patch","issue_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues/23","number":23,"state":"open","locked":false,"title":"Code Optimization ","user":{"login":"fqiang","id":7732771,"avatar_url":"https://avatars.githubusercontent.com/u/7732771?v=3","gravatar_id":"","url":"https://api.github.com/users/fqiang","html_url":"https://github.com/fqiang","followers_url":"https://api.github.com/users/fqiang/followers","following_url":"https://api.github.com/users/fqiang/following{/other_user}","gists_url":"https://api.github.com/users/fqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/fqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fqiang/subscriptions","organizations_url":"https://api.github.com/users/fqiang/orgs","repos_url":"https://api.github.com/users/fqiang/repos","events_url":"https://api.github.com/users/fqiang/events{/privacy}","received_events_url":"https://api.github.com/users/fqiang/received_events","type":"User","site_admin":false},"body":"This PR provides a MPIWrapper type that handles the MPI initialization and communicator when user doesn't provide one. The PR also was tested to work with optimized StructJuMPSolverInterface code. \r\n","created_at":"2016-07-22T03:33:46Z","updated_at":"2016-07-24T17:26:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea99f8062c5e157bd26696ce7eca6d43d4a09441","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23/commits","review_comments_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23/comments","review_comment_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues/23/comments","statuses_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/statuses/db65cc3d52b29efb77c9e2484ec586d35c29de62","head":{"label":"fqiang:linking_interface","ref":"linking_interface","sha":"db65cc3d52b29efb77c9e2484ec586d35c29de62","user":{"login":"fqiang","id":7732771,"avatar_url":"https://avatars.githubusercontent.com/u/7732771?v=3","gravatar_id":"","url":"https://api.github.com/users/fqiang","html_url":"https://github.com/fqiang","followers_url":"https://api.github.com/users/fqiang/followers","following_url":"https://api.github.com/users/fqiang/following{/other_user}","gists_url":"https://api.github.com/users/fqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/fqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fqiang/subscriptions","organizations_url":"https://api.github.com/users/fqiang/orgs","repos_url":"https://api.github.com/users/fqiang/repos","events_url":"https://api.github.com/users/fqiang/events{/privacy}","received_events_url":"https://api.github.com/users/fqiang/received_events","type":"User","site_admin":false},"repo":{"id":52485260,"name":"StructJuMP.jl","full_name":"fqiang/StructJuMP.jl","owner":{"login":"fqiang","id":7732771,"avatar_url":"https://avatars.githubusercontent.com/u/7732771?v=3","gravatar_id":"","url":"https://api.github.com/users/fqiang","html_url":"https://github.com/fqiang","followers_url":"https://api.github.com/users/fqiang/followers","following_url":"https://api.github.com/users/fqiang/following{/other_user}","gists_url":"https://api.github.com/users/fqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/fqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fqiang/subscriptions","organizations_url":"https://api.github.com/users/fqiang/orgs","repos_url":"https://api.github.com/users/fqiang/repos","events_url":"https://api.github.com/users/fqiang/events{/privacy}","received_events_url":"https://api.github.com/users/fqiang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fqiang/StructJuMP.jl","description":"A stochastic optimization framework for JuMP","fork":true,"url":"https://api.github.com/repos/fqiang/StructJuMP.jl","forks_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/forks","keys_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/teams","hooks_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/hooks","issue_events_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/issues/events{/number}","events_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/events","assignees_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/assignees{/user}","branches_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/branches{/branch}","tags_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/tags","blobs_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/languages","stargazers_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/stargazers","contributors_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/contributors","subscribers_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/subscribers","subscription_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/subscription","commits_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/contents/{+path}","compare_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/merges","archive_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/downloads","issues_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/issues{/number}","pulls_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/labels{/name}","releases_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/releases{/id}","deployments_url":"https://api.github.com/repos/fqiang/StructJuMP.jl/deployments","created_at":"2016-02-25T00:44:36Z","updated_at":"2016-06-13T20:36:29Z","pushed_at":"2016-07-21T21:32:13Z","git_url":"git://github.com/fqiang/StructJuMP.jl.git","ssh_url":"git@github.com:fqiang/StructJuMP.jl.git","clone_url":"https://github.com/fqiang/StructJuMP.jl.git","svn_url":"https://github.com/fqiang/StructJuMP.jl","homepage":null,"size":14349,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"StructJuMP:master","ref":"master","sha":"f2f452b1d235239e78e557b8d73be8c2cd350193","user":{"login":"StructJuMP","id":20143832,"avatar_url":"https://avatars.githubusercontent.com/u/20143832?v=3","gravatar_id":"","url":"https://api.github.com/users/StructJuMP","html_url":"https://github.com/StructJuMP","followers_url":"https://api.github.com/users/StructJuMP/followers","following_url":"https://api.github.com/users/StructJuMP/following{/other_user}","gists_url":"https://api.github.com/users/StructJuMP/gists{/gist_id}","starred_url":"https://api.github.com/users/StructJuMP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StructJuMP/subscriptions","organizations_url":"https://api.github.com/users/StructJuMP/orgs","repos_url":"https://api.github.com/users/StructJuMP/repos","events_url":"https://api.github.com/users/StructJuMP/events{/privacy}","received_events_url":"https://api.github.com/users/StructJuMP/received_events","type":"Organization","site_admin":false},"repo":{"id":17154545,"name":"StructJuMP.jl","full_name":"StructJuMP/StructJuMP.jl","owner":{"login":"StructJuMP","id":20143832,"avatar_url":"https://avatars.githubusercontent.com/u/20143832?v=3","gravatar_id":"","url":"https://api.github.com/users/StructJuMP","html_url":"https://github.com/StructJuMP","followers_url":"https://api.github.com/users/StructJuMP/followers","following_url":"https://api.github.com/users/StructJuMP/following{/other_user}","gists_url":"https://api.github.com/users/StructJuMP/gists{/gist_id}","starred_url":"https://api.github.com/users/StructJuMP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StructJuMP/subscriptions","organizations_url":"https://api.github.com/users/StructJuMP/orgs","repos_url":"https://api.github.com/users/StructJuMP/repos","events_url":"https://api.github.com/users/StructJuMP/events{/privacy}","received_events_url":"https://api.github.com/users/StructJuMP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StructJuMP/StructJuMP.jl","description":"A block-structured optimization framework for JuMP","fork":false,"url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl","forks_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/forks","keys_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/teams","hooks_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/hooks","issue_events_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues/events{/number}","events_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/events","assignees_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/assignees{/user}","branches_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/branches{/branch}","tags_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/tags","blobs_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/languages","stargazers_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/stargazers","contributors_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/contributors","subscribers_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/subscribers","subscription_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/subscription","commits_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/contents/{+path}","compare_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/merges","archive_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/downloads","issues_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues{/number}","pulls_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/labels{/name}","releases_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/releases{/id}","deployments_url":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/deployments","created_at":"2014-02-24T23:24:20Z","updated_at":"2016-06-27T15:10:57Z","pushed_at":"2016-07-22T03:33:46Z","git_url":"git://github.com/StructJuMP/StructJuMP.jl.git","ssh_url":"git@github.com:StructJuMP/StructJuMP.jl.git","clone_url":"https://github.com/StructJuMP/StructJuMP.jl.git","svn_url":"https://github.com/StructJuMP/StructJuMP.jl","homepage":"","size":14405,"stargazers_count":11,"watchers_count":11,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23"},"html":{"href":"https://github.com/StructJuMP/StructJuMP.jl/pull/23"},"issue":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues/23"},"comments":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/StructJuMP/StructJuMP.jl/statuses/db65cc3d52b29efb77c9e2484ec586d35c29de62"}}}}
{"actor":{"display_login":"joehuchette"}}