{"action":"created","issue":{"url":"https://api.github.com/repos/idaholab/moose/issues/7315","repository_url":"https://api.github.com/repos/idaholab/moose","labels_url":"https://api.github.com/repos/idaholab/moose/issues/7315/labels{/name}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/7315/comments","events_url":"https://api.github.com/repos/idaholab/moose/issues/7315/events","html_url":"https://github.com/idaholab/moose/issues/7315","id":165159419,"number":7315,"title":"Command-line edits for multiApp use","user":{"login":"taoyiliang","id":933205,"avatar_url":"https://avatars.githubusercontent.com/u/933205?v=3","gravatar_id":"","url":"https://api.github.com/users/taoyiliang","html_url":"https://github.com/taoyiliang","followers_url":"https://api.github.com/users/taoyiliang/followers","following_url":"https://api.github.com/users/taoyiliang/following{/other_user}","gists_url":"https://api.github.com/users/taoyiliang/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyiliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyiliang/subscriptions","organizations_url":"https://api.github.com/users/taoyiliang/orgs","repos_url":"https://api.github.com/users/taoyiliang/repos","events_url":"https://api.github.com/users/taoyiliang/events{/privacy}","received_events_url":"https://api.github.com/users/taoyiliang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/idaholab/moose/labels/C:%20MOOSE","name":"C: MOOSE","color":"0052cc"},{"url":"https://api.github.com/repos/idaholab/moose/labels/P:%20normal","name":"P: normal","color":"ededed"},{"url":"https://api.github.com/repos/idaholab/moose/labels/T:%20defect","name":"T: defect","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-12T19:25:09Z","updated_at":"2016-07-13T19:28:03Z","closed_at":null,"body":"### Description of the enhancement or error report\r\nUsing command-line edits for input files when there are multiple apps involved results in the same edits being propagated to multiple input files instead of just the main one.\r\n\r\n### Rationale for the enhancement or information for reproducing the error\r\nThe example is using multiApp MAMMOTH, which uses RATTLESNAKE as the main app and BISON as a secondary app.  The input files for each are `mammoth.i` and `bison.i`, respectively.  The run command I am using is\r\n```\r\n~/projects/mammoth/mammoth-opt -i mammoth.i Output/csv=true Output/file_base=example\r\n```\r\nWhen I run this, however, both MAMMOTH/RATTLESNAKE and BISON write to `example.csv`, resulting in a corrupted CSV file.\r\n\r\n### Identified impact\r\n(i.e. Internal object changes, limited interface changes, public API change, or a list of specific applications impacted)\r\nMy recommendation is that the command-line input interface be considered.  In early June this behavior was not observed, so it may be the result of recent changes.  I imagine this impacts all multiApps, but explicitly affects MAMMOTH."},"comment":{"url":"https://api.github.com/repos/idaholab/moose/issues/comments/232461022","html_url":"https://github.com/idaholab/moose/issues/7315#issuecomment-232461022","issue_url":"https://api.github.com/repos/idaholab/moose/issues/7315","id":232461022,"user":{"login":"taoyiliang","id":933205,"avatar_url":"https://avatars.githubusercontent.com/u/933205?v=3","gravatar_id":"","url":"https://api.github.com/users/taoyiliang","html_url":"https://github.com/taoyiliang","followers_url":"https://api.github.com/users/taoyiliang/followers","following_url":"https://api.github.com/users/taoyiliang/following{/other_user}","gists_url":"https://api.github.com/users/taoyiliang/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyiliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyiliang/subscriptions","organizations_url":"https://api.github.com/users/taoyiliang/orgs","repos_url":"https://api.github.com/users/taoyiliang/repos","events_url":"https://api.github.com/users/taoyiliang/events{/privacy}","received_events_url":"https://api.github.com/users/taoyiliang/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T19:28:03Z","updated_at":"2016-07-13T19:28:03Z","body":"Experimenting by setting the `file_base` in the two inputs to `debug_mammoth` and `debug_bison` respectively.\r\n\r\nResults of things I tried....\r\n\r\nThe nominal case,\r\n```\r\n~/projects/mammoth/mammoth-opt -i mammoth.i Outputs/file_base=debug_changed\r\n```\r\nresults in a single output file, `debug_changed.csv`, which appears to have been written over twice and ending with the output from `mammoth.i`.\r\n\r\nAdding a colon, as per the `cli_multiapp_all` example,\r\n```\r\n~/projects/mammoth/mammoth-opt -i mammoth.i :Outputs/file_base=debug_changed\r\n```\r\nresulted in two output CSV files, `debug_changed.csv` and `debug_bison.csv`, being created, which is the desired result.\r\n\r\nIt appears there is a way to do what I'm looking for; the surprising ~~issue~~feature for me was the default global propagation if no colon is used.  If that's the intended behavior, then I don't think there's an issue here, just a lesson learned.\r\n\r\n"}}
{"actor":{"display_login":"taoyiliang"}}