<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div>Emalyan, did you try filtering strace to zero in on open/close/creat etc?</div><div><span style="color: rgb(0, 0, 191);">Mike could you please explain ?</span><br><br>Also, to try compiling the smallest possible Swift script, like a single trace or assignment statement?</div><div><span style="color: rgb(0, 0, 191);">Yes I agree, this may make debugging simple. </span><br style="color: rgb(0, 0, 191);"><br>But
now that I think about it further, why are you running Swift on Mosa at
all? Dont you just want to test that Swift can execute applications
using Mosa as the workdirectory (in sites.xml)?</div><div><span style="color: rgb(0, 0, 191);">Yes this make sense and help us to make quick progress. I will try this and get back to you.</span></div><div><br></div><div>Thank you<br></div><div>Emalayan<br></div><div><br></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;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Michael Wilde <wilde@mcs.anl.gov><br><b><span style="font-weight: bold;">To:</span></b> Emalayan Vairavanathan <svemalayan@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> swift-user@ci.uchicago.edu<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, 27 October 2011 2:59 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Swift-user] Swift-MosaStore
integration problem<br></font><br>Emalyan, did you try filtering strace to zero in on open/close/creat etc?<br><br>Also, to try compiling the smallest possible Swift script, like a single trace or assignment statement?<br><br>But now that I think about it further, why are you running Swift on Mosa at all? Dont you just want to test that Swift can execute applications using Mosa as the workdirectory (in sites.xml)?<br><br>Regards,<br><br>- Mike<br><br>----- Original Message -----<br>> From: "Emalayan Vairavanathan" <<a ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>><br>> To: "Michael Wilde" <<a ymailto="mailto:wilde@mcs.anl.gov" href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>><br>> Cc: <a ymailto="mailto:swift-user@ci.uchicago.edu" href="mailto:swift-user@ci.uchicago.edu">swift-user@ci.uchicago.edu</a><br>> Sent: Thursday, October 27, 2011 4:34:11 PM<br>> Subject: Re:
[Swift-user] Swift-MosaStore integration problem<br>> Thank you Mike, I was using STrace but it seems very complex to find<br>> the bug. So we are now using the profiler to mimic file system and<br>> comparing the input and output of its fuse callbacks with Mosa.<br>> <br>> <br>> Also I agree with you that Mosa is doing something wired.<br>> <br>> <br>> Regards<br>> Emalayan<br>> <br>> <br>> <br>> <br>> <br>> From: Michael Wilde <<a ymailto="mailto:wilde@mcs.anl.gov" href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>><br>> To: Emalayan Vairavanathan <<a ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a>><br>> Cc: <a ymailto="mailto:swift-user@ci.uchicago.edu" href="mailto:swift-user@ci.uchicago.edu">swift-user@ci.uchicago.edu</a><br>> Sent: Thursday, 27 October 2011 12:57 PM<br>> Subject: Re: [Swift-user] Swift-MosaStore integration
problem<br>> <br>> Emalyan, can you use strace on the Swift jvm invocation to trave<br>> Java's systems calls, and debug it in that manner?<br>> <br>> I suspect that Mosa is doing something that's not quite POSIX<br>> compliant, and confusing Java and hence Swift.<br>> <br>> - Mike<br>> <br>> <br>> ----- Original Message -----<br>> > From: "Emalayan Vairavanathan" < <a ymailto="mailto:svemalayan@yahoo.com" href="mailto:svemalayan@yahoo.com">svemalayan@yahoo.com</a> ><br>> > To: <a ymailto="mailto:swift-user@ci.uchicago.edu" href="mailto:swift-user@ci.uchicago.edu">swift-user@ci.uchicago.edu</a><br>> > Sent: Thursday, October 27, 2011 2:35:13 PM<br>> > Subject: [Swift-user] Swift-MosaStore integration problem<br>> > Dear All,<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > When I try to run the HelloWorld.swift with MosaStore
(MosaStore is<br>> > a<br>> > distributed storage developed by us) it is terminating with an<br>> > error.<br>> ><br>> ><br>> ><br>> > Here HelloWorld.swift script is copied into the MosaStore<br>> > filesystem.<br>> > Also Swift has write permission in the file system. Because it can<br>> > create some temporary files (swift.log and<br>> > first-20111026-1848-hmo97vu7.log). But then it prints the error<br>> > below<br>> > and terminates (I have attached the log files. I am using swift<br>> > 0.93).<br>> ><br>> ><br>> ><br>> > Max heap: 259522560<br>> > Recompilation suppressed.<br>> > Detailed exception:<br>> > java.io.FileNotFoundException: /tmp/mount/dir1/first.kml (No such<br>> > file<br>> > or directory)<br>> > at java.io.FileInputStream.open(Native Method)<br>> > at
java.io.FileInputStream.<init>(FileInputStream.java:137)<br>> > at java.io.FileInputStream.<init>(FileInputStream.java:96)<br>> > at java.io.FileReader.<init>(FileReader.java:58)<br>> > at org.globus.cog.karajan.Loader.load(Loader.java:209)<br>> > at org.griphyn.vdl.karajan.Loader.main(Loader.java:157)<br>> > Could not start execution.<br>> > /tmp/mount/dir1/first.kml (No such file or directory)<br>> ><br>> ><br>> > It seems the Mosastore didnt receive any callback to create<br>> > first.kml.<br>> > I think, due to some reasons JVM assumes the storage is not<br>> > available<br>> > and terminate the swift program. So I am wondering whether you can<br>> > provide any hint about this issue.<br>> ><br>> > Also I would like to build the swift in debug mode in order to run<br>> > it<br>> > with jdb (to get more information). Please
let me know how to build<br>> > the swift in debug mode?<br>> ><br>> ><br>> > Thank you<br>> > Emalayan<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > Swift-user mailing list<br>> > <a ymailto="mailto:Swift-user@ci.uchicago.edu" href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>> > <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>> <br>> --<br>> Michael Wilde<br>> Computation Institute, University of Chicago<br>> Mathematics and Computer Science Division<br>> Argonne National Laboratory<br><br>-- <br>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National
Laboratory<br><br><br><br></div></div></div></body></html>