[Swift-devel] latest trunk

Michael Wilde wilde at mcs.anl.gov
Mon Mar 21 22:13:06 CDT 2011


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 ;) 


- Mike 


----- Original Message -----


oh, problem was bad tc file...now i have to figure out why swift decided not to tell me that :P 


On Mon, Mar 21, 2011 at 3:29 PM, Sarah Kenny < skenny at uchicago.edu > wrote: 


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. 

~sk 





On Mon, Mar 21, 2011 at 3:27 PM, Michael Wilde < wilde at mcs.anl.gov > wrote: 




Sarah, 


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? 


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. 


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. 


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. 


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. 


- Mike 







type file; 
type Rscript; 
type mxModel; 

app (mxModel min) mxModelProcessor(file covMatrix, Rscript mxModProc, int modnum, float weight, string cond) 
{ 
RInvoke @filename(mxModProc) @filename(covMatrix) modnum weight cond; 
} 

file covMatrix<single_file_mapper;file="./gestspeech.cov">; 
Rscript mxScript<single_file_mapper;file=@strcat("scripts/stest.R")>; 

int totalperms[] = [1:10]; 
float initweight = .5; 
foreach perm in totalperms{ 
mxModel modmin<single_file_mapper; file=@strcat("./results/speech_",perm,".rdata")>; 
modmin = mxModelProcessor(covMatrix, mxScript, perm, initweight, "speech"); 
} 

the R script it calls is actually just a sleep job 


On Mon, Mar 21, 2011 at 2:57 PM, Michael Wilde < wilde at mcs.anl.gov > wrote: 




Can you post the script? 







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: 

No events in 10s. 
Badness 

Registered futures: 
int[] totalperms Closed, 10 elements, 0 listeners 
---- 

Waiting threads: 
0-4 
---- 

No events in 10s. 
Badness 

Registered futures: 
int[] totalperms Closed, 10 elements, 0 listeners 
---- 

Waiting threads: 
0-4 
---- 

it's a simple test script that runs fine in .92, anyone else experiencing this? 

_______________________________________________ 
Swift-devel mailing list 
Swift-devel at ci.uchicago.edu 
http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel 



-- 
Michael Wilde 
Computation Institute, University of Chicago 
Mathematics and Computer Science Division 
Argonne National Laboratory 





-- 
Michael Wilde 
Computation Institute, University of Chicago 
Mathematics and Computer Science Division 
Argonne National Laboratory 






-- 
Michael Wilde 
Computation Institute, University of Chicago 
Mathematics and Computer Science Division 
Argonne National Laboratory 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110321/43fcf7d4/attachment.html>


More information about the Swift-devel mailing list