{"action":"created","issue":{"url":"https://api.github.com/repos/idaholab/moose/issues/11768","repository_url":"https://api.github.com/repos/idaholab/moose","labels_url":"https://api.github.com/repos/idaholab/moose/issues/11768/labels{/name}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/11768/comments","events_url":"https://api.github.com/repos/idaholab/moose/issues/11768/events","html_url":"https://github.com/idaholab/moose/pull/11768","id":336769005,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTQ0NDU5","number":11768,"title":"Add one option to remove extra residual evaluation if a linear solver is chosen","user":{"login":"fdkong","id":10508374,"node_id":"MDQ6VXNlcjEwNTA4Mzc0","avatar_url":"https://avatars3.githubusercontent.com/u/10508374?v=4","gravatar_id":"","url":"https://api.github.com/users/fdkong","html_url":"https://github.com/fdkong","followers_url":"https://api.github.com/users/fdkong/followers","following_url":"https://api.github.com/users/fdkong/following{/other_user}","gists_url":"https://api.github.com/users/fdkong/gists{/gist_id}","starred_url":"https://api.github.com/users/fdkong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdkong/subscriptions","organizations_url":"https://api.github.com/users/fdkong/orgs","repos_url":"https://api.github.com/users/fdkong/repos","events_url":"https://api.github.com/users/fdkong/events{/privacy}","received_events_url":"https://api.github.com/users/fdkong/received_events","type":"User","site_admin":false},"labels":[{"id":337680520,"node_id":"MDU6TGFiZWwzMzc2ODA1MjA=","url":"https://api.github.com/repos/idaholab/moose/labels/PR:%20Do%20Not%20Merge","name":"PR: Do Not Merge","color":"e11d21","default":false},{"id":636291780,"node_id":"MDU6TGFiZWw2MzYyOTE3ODA=","url":"https://api.github.com/repos/idaholab/moose/labels/PR:%20Failed%20but%20allowed","name":"PR: Failed but allowed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"permcody","id":3036960,"node_id":"MDQ6VXNlcjMwMzY5NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3036960?v=4","gravatar_id":"","url":"https://api.github.com/users/permcody","html_url":"https://github.com/permcody","followers_url":"https://api.github.com/users/permcody/followers","following_url":"https://api.github.com/users/permcody/following{/other_user}","gists_url":"https://api.github.com/users/permcody/gists{/gist_id}","starred_url":"https://api.github.com/users/permcody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/permcody/subscriptions","organizations_url":"https://api.github.com/users/permcody/orgs","repos_url":"https://api.github.com/users/permcody/repos","events_url":"https://api.github.com/users/permcody/events{/privacy}","received_events_url":"https://api.github.com/users/permcody/received_events","type":"User","site_admin":false},"assignees":[{"login":"permcody","id":3036960,"node_id":"MDQ6VXNlcjMwMzY5NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3036960?v=4","gravatar_id":"","url":"https://api.github.com/users/permcody","html_url":"https://github.com/permcody","followers_url":"https://api.github.com/users/permcody/followers","following_url":"https://api.github.com/users/permcody/following{/other_user}","gists_url":"https://api.github.com/users/permcody/gists{/gist_id}","starred_url":"https://api.github.com/users/permcody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/permcody/subscriptions","organizations_url":"https://api.github.com/users/permcody/orgs","repos_url":"https://api.github.com/users/permcody/repos","events_url":"https://api.github.com/users/permcody/events{/privacy}","received_events_url":"https://api.github.com/users/permcody/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-06-28T20:30:18Z","updated_at":"2018-06-29T19:51:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/11768","html_url":"https://github.com/idaholab/moose/pull/11768","diff_url":"https://github.com/idaholab/moose/pull/11768.diff","patch_url":"https://github.com/idaholab/moose/pull/11768.patch"},"body":"Closes #11760 #11761\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/idaholab/moose/issues/comments/401456793","html_url":"https://github.com/idaholab/moose/pull/11768#issuecomment-401456793","issue_url":"https://api.github.com/repos/idaholab/moose/issues/11768","id":401456793,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTQ1Njc5Mw==","user":{"login":"lindsayad","id":10248304,"node_id":"MDQ6VXNlcjEwMjQ4MzA0","avatar_url":"https://avatars2.githubusercontent.com/u/10248304?v=4","gravatar_id":"","url":"https://api.github.com/users/lindsayad","html_url":"https://github.com/lindsayad","followers_url":"https://api.github.com/users/lindsayad/followers","following_url":"https://api.github.com/users/lindsayad/following{/other_user}","gists_url":"https://api.github.com/users/lindsayad/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsayad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsayad/subscriptions","organizations_url":"https://api.github.com/users/lindsayad/orgs","repos_url":"https://api.github.com/users/lindsayad/repos","events_url":"https://api.github.com/users/lindsayad/events{/privacy}","received_events_url":"https://api.github.com/users/lindsayad/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T19:51:04Z","updated_at":"2018-06-29T19:51:04Z","author_association":"MEMBER","body":"@WilkAndy This works for me. Without @fdkong change to `PetscSupport.C`:\r\n```\r\n -------------------------------------------------------------------------------------------------------------------------\r\n| Moose Test Performance: Alive time=0.045687, Active time=0.034562                                                       |\r\n -------------------------------------------------------------------------------------------------------------------------\r\n| Event                                      nCalls     Total Time  Avg Time    Total Time  Avg Time    % of Active Time  |\r\n|                                                       w/o Sub     w/o Sub     With Sub    With Sub    w/o S    With S   |\r\n|-------------------------------------------------------------------------------------------------------------------------|\r\n|                                                                                                                         |\r\n|                                                                                                                         |\r\n| Application                                                                                                             |\r\n|   Full Runtime                             1          0.0005      0.000463    0.0346      0.034563    1.34     100.00   |\r\n|                                                                                                                         |\r\n| Execution                                                                                                               |\r\n|   computeKernels()                         2          0.0001      0.000047    0.0001      0.000047    0.27     0.27     |\r\n|   computeNodalBCs()                        2          0.0000      0.000004    0.0000      0.000004    0.02     0.02     |\r\n|   compute_jacobian()                       1          0.0001      0.000128    0.0001      0.000128    0.37     0.37     |\r\n|   compute_residual()                       2          0.0002      0.000112    0.0003      0.000163    0.65     0.95     |\r\n|   solve()                                  1          0.0014      0.001387    0.0018      0.001842    4.01     5.33     |\r\n```\r\nWith his change:\r\n```\r\n -------------------------------------------------------------------------------------------------------------------------\r\n| Moose Test Performance: Alive time=0.044943, Active time=0.034394                                                       |\r\n -------------------------------------------------------------------------------------------------------------------------\r\n| Event                                      nCalls     Total Time  Avg Time    Total Time  Avg Time    % of Active Time  |\r\n|                                                       w/o Sub     w/o Sub     With Sub    With Sub    w/o S    With S   |\r\n|-------------------------------------------------------------------------------------------------------------------------|\r\n|                                                                                                                         |\r\n|                                                                                                                         |\r\n| Application                                                                                                             |\r\n|   Full Runtime                             1          0.0004      0.000448    0.0344      0.034395    1.30     100.00   |\r\n|                                                                                                                         |\r\n| Execution                                                                                                               |\r\n|   computeKernels()                         1          0.0001      0.000060    0.0001      0.000060    0.17     0.17     |\r\n|   computeNodalBCs()                        1          0.0000      0.000006    0.0000      0.000006    0.02     0.02     |\r\n|   compute_jacobian()                       1          0.0001      0.000093    0.0001      0.000093    0.27     0.27     |\r\n|   compute_residual()                       1          0.0001      0.000108    0.0002      0.000174    0.31     0.51     |\r\n|   solve()                                  1          0.0012      0.001247    0.0015      0.001514    3.63     4.40     |\r\n```\r\nIf I build a debug executable and break on `NonlinearSystemBase::computeResidualTags`, I see that it is indeed called only once. Now I am on Petsc 3.9.2...let me check on older Petsc."}}
{"actor":{"display_login":"lindsayad"}}