{"action":"created","issue":{"url":"https://api.github.com/repos/OPM/opm-autodiff/issues/628","repository_url":"https://api.github.com/repos/OPM/opm-autodiff","labels_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/628/comments","events_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/628/events","html_url":"https://github.com/OPM/opm-autodiff/pull/628","id":145183198,"number":628,"title":"Pr/async output","user":{"login":"dr-robertk","id":8373576,"avatar_url":"https://avatars.githubusercontent.com/u/8373576?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-robertk","html_url":"https://github.com/dr-robertk","followers_url":"https://api.github.com/users/dr-robertk/followers","following_url":"https://api.github.com/users/dr-robertk/following{/other_user}","gists_url":"https://api.github.com/users/dr-robertk/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-robertk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-robertk/subscriptions","organizations_url":"https://api.github.com/users/dr-robertk/orgs","repos_url":"https://api.github.com/users/dr-robertk/repos","events_url":"https://api.github.com/users/dr-robertk/events{/privacy}","received_events_url":"https://api.github.com/users/dr-robertk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-04-01T13:39:36Z","updated_at":"2016-04-06T07:45:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/628","html_url":"https://github.com/OPM/opm-autodiff/pull/628","diff_url":"https://github.com/OPM/opm-autodiff/pull/628.diff","patch_url":"https://github.com/OPM/opm-autodiff/pull/628.patch"},"body":"This PR adds the possibility to spawn an extra thread for writing the output. I tested with Norne and SPE9 and the results look the same. However, it should be discussed if the cxx-11 feature std::async can be used or a similar implementation with OpenMP needs to be done (by somebody else). Right now the old state remains default, i.e. no async output. \r\n\r\nEnable with compiler flag -pthreads and the parameter option async_output=true"},"comment":{"url":"https://api.github.com/repos/OPM/opm-autodiff/issues/comments/206189051","html_url":"https://github.com/OPM/opm-autodiff/pull/628#issuecomment-206189051","issue_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/628","id":206189051,"user":{"login":"akva2","id":2144327,"avatar_url":"https://avatars.githubusercontent.com/u/2144327?v=3","gravatar_id":"","url":"https://api.github.com/users/akva2","html_url":"https://github.com/akva2","followers_url":"https://api.github.com/users/akva2/followers","following_url":"https://api.github.com/users/akva2/following{/other_user}","gists_url":"https://api.github.com/users/akva2/gists{/gist_id}","starred_url":"https://api.github.com/users/akva2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akva2/subscriptions","organizations_url":"https://api.github.com/users/akva2/orgs","repos_url":"https://api.github.com/users/akva2/repos","events_url":"https://api.github.com/users/akva2/events{/privacy}","received_events_url":"https://api.github.com/users/akva2/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T07:45:12Z","updated_at":"2016-04-06T07:45:12Z","body":"just in case:\r\n\r\nadd 'Threads REQUIRED' to prereqs and add\r\n\r\n```\r\nlist (APPEND opm-autodiff_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})\r\n```\r\nto the config hook in CMakeLists.txt"}}