<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The working example is located in /home/jonmon/Workspace/Swift/mosaswift-test<div><br></div><div>There is a README there that provides a little bit of information.</div><div><br></div><div>Quick version to run it:</div><div>1) start your workers</div><div>2) ./setup.sh</div><div>3) ./run.sh</div><div><br></div><div>The directory final will have 5 files if it completed without error. The content of the files will look like:</div><div>Hello world</div><div>Hello from <number></div><div><br><div><div>On Mar 14, 2012, at 4:03 PM, Emalayan Vairavanathan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Jon,</span></div><div><br><span></span></div><div><span>Great, Thank you very much. Could you please send me the setup ? <br></span></div><div><br><span></span></div><div><span>Thank you</span></div><div><span>Emalayan<br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Jonathan Monette <<a href="mailto:jonmon@mcs.anl.gov">jonmon@mcs.anl.gov</a>><br> <b><span style="font-weight: bold;">To:</span></b> Justin M Wozniak <<a href="mailto:wozniak@mcs.anl.gov">wozniak@mcs.anl.gov</a>> <br><b><span style="font-weight: bold;">Cc:</span></b> "<a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a> Devel" <<a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a>>; MosaStore
<<a href="mailto:mosastore@googlegroups.com">mosastore@googlegroups.com</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 14 March 2012 2:00 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Swift-devel] Mosaswift update<br> </font> </div> <br>So that actually fixed the issue. So we have a working example of using CDM and intermediate file storage that Emalayan can use for testing his mosa store set up.<br><br>On Mar 14, 2012, at 3:05 PM, Jonathan Monette wrote:<br><br>> Oh, thanks, didn't catch that. Trying another run right now but I think someone is using all of surveyor right now, but manual coaster service job is stuck in the queue state.<br>> <br>> <br>> On Mar 14, 2012, at 3:02 PM, Justin M Wozniak wrote:<br>> <br>>> <br>>> Ok, then it's a typo on readlinE .<br>>> <br>>> On Wed, 14 Mar 2012, Jonathan Monette wrote:<br>>> <br>>>> I am not sure. I thought readlink returned the
absolute path of the link which is what I wanted to use. I am not sure how readlink behaves on the compute nodes. This was my first attempt at getting around the link but I do not think this is working.<br>>>> <br>>>> On Mar 14, 2012, at 2:43 PM, Justin M Wozniak wrote:<br>>>> <br>>>>> On Wed, 14 Mar 2012, Jonathan Monette wrote:<br>>>>> <br>>>>>> I say semi working because I intended the script to build up output during the stages on the swift run and the final output would show that it was stored temporarily in /tmp. This is not happening as the final output for the file contains only the last line(a Hello from <id> line). I believe this is due to how CDM using symlinks for the files that is matched, so a symlink is being overwritten instead of at the file it points to. I ran into this problem in the past(but this is documented in the user guide) and just
need verify that this is indeed the issue.<br>>>>> <br>>>>> In the past, the application unlinked the link. It looks like you are appending to the link.<br>>>>> <br>>>>> infile=`readlink $1`<br>>>>> outfile=`readline $2`<br>>>>> cat $infile >> $outfile<br>>>>> <br>>>>> Is there a case in which the readlink affects the behavior of this sequence?<br>>>>> <br>>>>> Does readline work correctly on the BG/P compute node?<br>>>>> <br>>>>> Justin<br>>>>> <br>>>>> --<br>>>>> Justin M Wozniak<br>>>> <br>>>> <br>>> <br>>> -- <br>>> Justin M Wozniak<br>> <br>> _______________________________________________<br>> Swift-devel mailing list<br>> <a ymailto="mailto:Swift-devel@ci.uchicago.edu" href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br><br>-- <br>You received this message because you are subscribed to the Google Groups "MosaStore" group.<br>To post to this group, send email to <a ymailto="mailto:mosastore@googlegroups.com" href="mailto:mosastore@googlegroups.com">mosastore@googlegroups.com</a>.<br>To unsubscribe from this group, send email to mosastore+<a ymailto="mailto:unsubscribe@googlegroups.com" href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/mosastore?hl=en" target="_blank">http://groups.google.com/group/mosastore?hl=en</a>.<br><br><br><br> </div> </div> </div></div>_______________________________________________<br>Swift-devel mailing list<br><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br></blockquote></div><br></div></body></html>