{"action":"created","comment":{"url":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments/77788575","id":77788575,"diff_hunk":"@@ -111,10 +111,6 @@ namespace Opm\n             adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_, terminal_output_ ) );\n         }\n \n-\n-\n-        output_writer_.writeInit( geo_.simProps(grid_) , geo_.nonCartesianConnections( ) );","path":"opm/autodiff/SimulatorBase_impl.hpp","position":6,"original_position":6,"commit_id":"d6aea1663d0f4cb9ba17a36943f748af3559b066","original_commit_id":"d6aea1663d0f4cb9ba17a36943f748af3559b066","user":{"login":"atgeirr","id":1876621,"avatar_url":"https://avatars.githubusercontent.com/u/1876621?v=3","gravatar_id":"","url":"https://api.github.com/users/atgeirr","html_url":"https://github.com/atgeirr","followers_url":"https://api.github.com/users/atgeirr/followers","following_url":"https://api.github.com/users/atgeirr/following{/other_user}","gists_url":"https://api.github.com/users/atgeirr/gists{/gist_id}","starred_url":"https://api.github.com/users/atgeirr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atgeirr/subscriptions","organizations_url":"https://api.github.com/users/atgeirr/orgs","repos_url":"https://api.github.com/users/atgeirr/repos","events_url":"https://api.github.com/users/atgeirr/events{/privacy}","received_events_url":"https://api.github.com/users/atgeirr/received_events","type":"User","site_admin":false},"body":"Looks like you also discovered an extra call: looks to me like we currently always write init twice!","created_at":"2016-09-07T09:27:54Z","updated_at":"2016-09-07T09:27:54Z","html_url":"https://github.com/OPM/opm-simulators/pull/770#discussion_r77788575","pull_request_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/770","_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments/77788575"},"html":{"href":"https://github.com/OPM/opm-simulators/pull/770#discussion_r77788575"},"pull_request":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/770"}}},"pull_request":{"url":"https://api.github.com/repos/OPM/opm-simulators/pulls/770","id":78498097,"html_url":"https://github.com/OPM/opm-simulators/pull/770","diff_url":"https://github.com/OPM/opm-simulators/pull/770.diff","patch_url":"https://github.com/OPM/opm-simulators/pull/770.patch","issue_url":"https://api.github.com/repos/OPM/opm-simulators/issues/770","number":770,"state":"open","locked":false,"title":"Call writeInit with global grid and properties.","user":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"body":"Previously, the call was made after the grid was distributed.\r\nThis means that each process wrote it, but only with his cells\r\nactive which was just a part of the whole domain.\r\n\r\nWith this PR we make the writeInit call before distributing the\r\ngrid and make sure that only one process calls it.\r\n\r\nCloses #765.","created_at":"2016-07-22T15:42:58Z","updated_at":"2016-09-07T09:27:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"315a26d9aa0c434a9eff23672e4ebbda645b176f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/770/commits","review_comments_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/770/comments","review_comment_url":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OPM/opm-simulators/issues/770/comments","statuses_url":"https://api.github.com/repos/OPM/opm-simulators/statuses/d6aea1663d0f4cb9ba17a36943f748af3559b066","head":{"label":"blattms:call-writeInit-before-distributing-grid","ref":"call-writeInit-before-distributing-grid","sha":"d6aea1663d0f4cb9ba17a36943f748af3559b066","user":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"repo":{"id":15934062,"name":"opm-simulators","full_name":"blattms/opm-simulators","owner":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blattms/opm-simulators","description":"Utilities for automatic differentiation and simulators based on AD.","fork":true,"url":"https://api.github.com/repos/blattms/opm-simulators","forks_url":"https://api.github.com/repos/blattms/opm-simulators/forks","keys_url":"https://api.github.com/repos/blattms/opm-simulators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blattms/opm-simulators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blattms/opm-simulators/teams","hooks_url":"https://api.github.com/repos/blattms/opm-simulators/hooks","issue_events_url":"https://api.github.com/repos/blattms/opm-simulators/issues/events{/number}","events_url":"https://api.github.com/repos/blattms/opm-simulators/events","assignees_url":"https://api.github.com/repos/blattms/opm-simulators/assignees{/user}","branches_url":"https://api.github.com/repos/blattms/opm-simulators/branches{/branch}","tags_url":"https://api.github.com/repos/blattms/opm-simulators/tags","blobs_url":"https://api.github.com/repos/blattms/opm-simulators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blattms/opm-simulators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blattms/opm-simulators/git/refs{/sha}","trees_url":"https://api.github.com/repos/blattms/opm-simulators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blattms/opm-simulators/statuses/{sha}","languages_url":"https://api.github.com/repos/blattms/opm-simulators/languages","stargazers_url":"https://api.github.com/repos/blattms/opm-simulators/stargazers","contributors_url":"https://api.github.com/repos/blattms/opm-simulators/contributors","subscribers_url":"https://api.github.com/repos/blattms/opm-simulators/subscribers","subscription_url":"https://api.github.com/repos/blattms/opm-simulators/subscription","commits_url":"https://api.github.com/repos/blattms/opm-simulators/commits{/sha}","git_commits_url":"https://api.github.com/repos/blattms/opm-simulators/git/commits{/sha}","comments_url":"https://api.github.com/repos/blattms/opm-simulators/comments{/number}","issue_comment_url":"https://api.github.com/repos/blattms/opm-simulators/issues/comments{/number}","contents_url":"https://api.github.com/repos/blattms/opm-simulators/contents/{+path}","compare_url":"https://api.github.com/repos/blattms/opm-simulators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blattms/opm-simulators/merges","archive_url":"https://api.github.com/repos/blattms/opm-simulators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blattms/opm-simulators/downloads","issues_url":"https://api.github.com/repos/blattms/opm-simulators/issues{/number}","pulls_url":"https://api.github.com/repos/blattms/opm-simulators/pulls{/number}","milestones_url":"https://api.github.com/repos/blattms/opm-simulators/milestones{/number}","notifications_url":"https://api.github.com/repos/blattms/opm-simulators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blattms/opm-simulators/labels{/name}","releases_url":"https://api.github.com/repos/blattms/opm-simulators/releases{/id}","deployments_url":"https://api.github.com/repos/blattms/opm-simulators/deployments","created_at":"2014-01-15T12:06:17Z","updated_at":"2016-04-30T14:34:16Z","pushed_at":"2016-09-02T14:54:42Z","git_url":"git://github.com/blattms/opm-simulators.git","ssh_url":"git@github.com:blattms/opm-simulators.git","clone_url":"https://github.com/blattms/opm-simulators.git","svn_url":"https://github.com/blattms/opm-simulators","homepage":null,"size":6602,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"OPM:master","ref":"master","sha":"afa64d98759ec25a096acb80d6c588fc58ed1646","user":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"repo":{"id":10097543,"name":"opm-simulators","full_name":"OPM/opm-simulators","owner":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OPM/opm-simulators","description":"Simulator programs and utilities for automatic differentiation.","fork":false,"url":"https://api.github.com/repos/OPM/opm-simulators","forks_url":"https://api.github.com/repos/OPM/opm-simulators/forks","keys_url":"https://api.github.com/repos/OPM/opm-simulators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OPM/opm-simulators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OPM/opm-simulators/teams","hooks_url":"https://api.github.com/repos/OPM/opm-simulators/hooks","issue_events_url":"https://api.github.com/repos/OPM/opm-simulators/issues/events{/number}","events_url":"https://api.github.com/repos/OPM/opm-simulators/events","assignees_url":"https://api.github.com/repos/OPM/opm-simulators/assignees{/user}","branches_url":"https://api.github.com/repos/OPM/opm-simulators/branches{/branch}","tags_url":"https://api.github.com/repos/OPM/opm-simulators/tags","blobs_url":"https://api.github.com/repos/OPM/opm-simulators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OPM/opm-simulators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OPM/opm-simulators/git/refs{/sha}","trees_url":"https://api.github.com/repos/OPM/opm-simulators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OPM/opm-simulators/statuses/{sha}","languages_url":"https://api.github.com/repos/OPM/opm-simulators/languages","stargazers_url":"https://api.github.com/repos/OPM/opm-simulators/stargazers","contributors_url":"https://api.github.com/repos/OPM/opm-simulators/contributors","subscribers_url":"https://api.github.com/repos/OPM/opm-simulators/subscribers","subscription_url":"https://api.github.com/repos/OPM/opm-simulators/subscription","commits_url":"https://api.github.com/repos/OPM/opm-simulators/commits{/sha}","git_commits_url":"https://api.github.com/repos/OPM/opm-simulators/git/commits{/sha}","comments_url":"https://api.github.com/repos/OPM/opm-simulators/comments{/number}","issue_comment_url":"https://api.github.com/repos/OPM/opm-simulators/issues/comments{/number}","contents_url":"https://api.github.com/repos/OPM/opm-simulators/contents/{+path}","compare_url":"https://api.github.com/repos/OPM/opm-simulators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OPM/opm-simulators/merges","archive_url":"https://api.github.com/repos/OPM/opm-simulators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OPM/opm-simulators/downloads","issues_url":"https://api.github.com/repos/OPM/opm-simulators/issues{/number}","pulls_url":"https://api.github.com/repos/OPM/opm-simulators/pulls{/number}","milestones_url":"https://api.github.com/repos/OPM/opm-simulators/milestones{/number}","notifications_url":"https://api.github.com/repos/OPM/opm-simulators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OPM/opm-simulators/labels{/name}","releases_url":"https://api.github.com/repos/OPM/opm-simulators/releases{/id}","deployments_url":"https://api.github.com/repos/OPM/opm-simulators/deployments","created_at":"2013-05-16T08:59:22Z","updated_at":"2016-04-11T07:16:26Z","pushed_at":"2016-09-07T09:12:30Z","git_url":"git://github.com/OPM/opm-simulators.git","ssh_url":"git@github.com:OPM/opm-simulators.git","clone_url":"https://github.com/OPM/opm-simulators.git","svn_url":"https://github.com/OPM/opm-simulators","homepage":"http://www.opm-project.org","size":7093,"stargazers_count":6,"watchers_count":6,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":43,"forks":30,"open_issues":43,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/770"},"html":{"href":"https://github.com/OPM/opm-simulators/pull/770"},"issue":{"href":"https://api.github.com/repos/OPM/opm-simulators/issues/770"},"comments":{"href":"https://api.github.com/repos/OPM/opm-simulators/issues/770/comments"},"review_comments":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/770/comments"},"review_comment":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OPM/opm-simulators/pulls/770/commits"},"statuses":{"href":"https://api.github.com/repos/OPM/opm-simulators/statuses/d6aea1663d0f4cb9ba17a36943f748af3559b066"}}}}
{"actor":{"display_login":"atgeirr"}}