<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 12:00 PM, Hategan-Marandiuc, Philip M. <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov" target="_blank">hategan@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2015-01-08 at 10:53 -0600, Ketan Maheshwari wrote:<br>
<br>
> file appout <single_file_mapper; file=strcat("outdir", i, "/appout.txt")>;<br>
><br>
> Currently, this pattern gets honored for stdout/stderr files, ie. Swift<br>
> creates the outdirN and puts the stdout/stderr files into it.<br>
<br>
</span>Not automagically! You pass the stdout/stderr file names to the app<br>
command line using stdout= and stderr=.<br></blockquote><div><br></div><div>True. However, the scheme is not quite consistent due to the following behavior:</div><div><br></div><div>-- When specifying stdout and stderr in command line, I do not specify them in directories. Yet, if I map them in non-existent directories, Swift will create those directories and put the stdout/stderr files in them. This does not happen with other files even if they are specified in command line.</div><div><br></div><div>-- If a file is specified as output file in app definition but does not appear in the command line, Swift will still bring it in as an output. Again, this will happen only if the file is mapped at top level and not in any directory.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So in all cases swift honors what you tell it to honor. The question is<br>
what is it that you really want here:<br>
- is it to automatically create multiple versions of files when an app<br>
specifies the same output file and there are multiple invocations?<br></blockquote><div><br></div><div>Yes. The app specifies it alright but the executable does not specify it on command line.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- or is it for swift to ignore the directory in the remote app output<br>
when staging out files (but not locally)?<br>
<br>
Mihael<br>
<br>
</blockquote></div><br></div></div>