<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>OK. And you can ignore my (incorrect) comment on "min" not being set; I realized that its mapped by the caller and created by the RInvoke app, without being seen on the command line. Only modnum is passed and is used to create the proper output file name. (Probably a good FAQ topic ;)<div><br></div><div>- Mike<br><div><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">oh, problem was bad tc file...now i have to figure out why swift decided not to tell me that :P<br><br><div class="gmail_quote">On Mon, Mar 21, 2011 at 3:29 PM, Sarah Kenny <span dir="ltr"><<a href="mailto:skenny@uchicago.edu" target="_blank">skenny@uchicago.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">it works fine under .92 and is something i often use for testing, but no worries i can debug more, i just thought maybe there was a recent commit that would jump out at someone as the potential cause of this behavior. <br>
<font color="#888888">
<br>~sk</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Mar 21, 2011 at 3:27 PM, Michael Wilde <span dir="ltr"><<a href="mailto:wilde@mcs.anl.gov" target="_blank">wilde@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">Sarah,<div><br></div><div>I wont be able to test and help debug this today, but I notice that your app function declares but does not set the file return value "min". Was (or is) the exact same script working under 0.92 in this manner?</div>
<div><br></div><div>If you think this should work under trunk, I would first package up a version that anyone can run (ie include a mock RInvoke script, tc, sites, and properties file.</div><div><br></div><div>The try to create a trunk version as of about a week or 2 ago, and see if you find find the trunk rev that broke it.</div>
<div><br></div><div>If you can reproduce the error on latest trunk, posting the log and all the specs/files needed to run it would help Justin or Mihael try to find the problem.</div><div><br></div><div>But first make sure the script is logically correct w.r.t the min return value. Looks wrong to me, but I may be missing something obvious.</div>
<div><br></div><div>- Mike</div><div><br><hr><div><div></div><div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">type file;<br>
type Rscript;<br>
type mxModel;<br>
<br>
app (mxModel min) mxModelProcessor(file covMatrix, Rscript mxModProc, int modnum, float weight, string cond)<br>
{<br>
RInvoke @filename(mxModProc) @filename(covMatrix) modnum weight cond;<br>
}<br>
<br>
file covMatrix<single_file_mapper;file="./gestspeech.cov">;<br>
Rscript mxScript<single_file_mapper;file=@strcat("scripts/stest.R")>;<br>
<br>
int totalperms[] = [1:10];<br>
float initweight = .5;<br>
foreach perm in totalperms{<br>
mxModel modmin<single_file_mapper; file=@strcat("./results/speech_",perm,".rdata")>;<br>
modmin = mxModelProcessor(covMatrix, mxScript, perm, initweight, "speech");<br>
}<br>
<br>
the R script it calls is actually just a sleep job<br><br><div class="gmail_quote">On Mon, Mar 21, 2011 at 2:57 PM, Michael Wilde <span dir="ltr"><<a href="mailto:wilde@mcs.anl.gov" target="_blank">wilde@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">Can you post the script?<div>
<br><hr><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div><div></div><div>hmmm....so i just (a moment ago) built from trunk and on a quick test run (defaulting to localhost) i seem to be getting an infinite stream of something like this:<br>
<br>No events in 10s.<br>Badness<br><br>Registered futures:<br>
int[] totalperms Closed, 10 elements, 0 listeners<br>----<br><br>Waiting threads:<br>0-4<br>----<br><br>No events in 10s.<br>Badness<br><br>Registered futures:<br>int[] totalperms Closed, 10 elements, 0 listeners<br>----<br>
<br>Waiting threads:<br>0-4<br>----<br><br>it's a simple test script that runs fine in .92, anyone else experiencing this? <br>
<br></div></div>_______________________________________________<br>Swift-devel mailing list<br><a href="mailto:Swift-devel@ci.uchicago.edu" target="_blank">Swift-devel@ci.uchicago.edu</a><br><a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
</blockquote><font color="#888888"><br><span><br><br>-- <br><span></span>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National Laboratory<br>
<span></span><br></span></font></div></div></div></blockquote></div><br>
</blockquote><br><span><br><br>-- <br><span></span>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National Laboratory<br><span></span><br>
</span></div></div></div></div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</blockquote><br><span><br><br>-- <br><span name="x"></span>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National Laboratory<br><span name="x"></span><br></span></div></div></div></body></html>