<div>We can run the same admb program for different dataset by using the job array, also called pleasantly parallel on our hpcc, it works fine if you don't need each job within the array to communicate with other job during the run. More details see link <a href="https://wiki.hpcc.msu.edu/display/~colbrydi@msu.edu/2011/07/08/Pleasantly+Parallel+Presentation">https://wiki.hpcc.msu.edu/display/~colbrydi@msu.edu/2011/07/08/Pleasantly+Parallel+Presentation</a>, click the pdf for more slides.</div>
<div><br></div><div>I am not using glmmadmb, but you can try to separate each dataset in its own directory, then call the program or submit the job for each directory, since admb has not implement parallel yet and create the temporary files during its run. </div>
<br><div><br></div><div>weihai<br><br><div class="gmail_quote">On Fri, Jul 29, 2011 at 2:38 PM, Tara Crewe <span dir="ltr"><<a href="mailto:tcrewe2@uwo.ca">tcrewe2@uwo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Good afternoon,<br><br>I'm running glmmADMB (0.5-2) with negative binomial and zinegbin distribution on count data in R (version 2.12.2). Currently I'm using a cluster (<a href="http://www.sharcnet.ca" target="_blank">www.sharcnet.ca</a>) to submit multiple datasets to be analyzed by the same R program in parallel (i.e., serial farming). <br>
<br>Other R packages work fine in parallel this way (e.g., glmer), and the code for ADMB works fine on a single dataset. However, as soon as I submit a second dataset to be analyzed in parallel, ADMB fails with the following error messages:<br>
<br> Error in dvar_matrix write<br>Error in glmm.admb(ObservationCount ~ c.year + poly(c.day, 2) + poly(c.hour, : <br> The function maximizer failed<br>Calls: glmm.zinb.trnd.admb.yr -> glmm.admb<br>In addition: Warning messages:<br>
1: In system(cmd2, intern = !verbose) :<br> line 1 may be truncated in call to system(, intern = TRUE)<br>2: In system(cmd2, intern = !verbose) :<br> line 1 may be truncated in call to system(, intern = TRUE)<br>3: In system(cmd2, intern = !verbose) :<br>
line 1 may be truncated in call to system(, intern = TRUE)<br>4: In system(cmd2, intern = !verbose) :<br> line 1 may be truncated in call to system(, intern = TRUE)<br>5: running command './nbmm -maxfn 500 ' had status 1 <br>
Execution halted<br><br>I searched these error messages online, and haven't found any documentation. Question is, is it possible to run ADMB in parallel? I suspect (with my very limited knowledge) that the error may have to do with how temporary files are written/stored by ADMB?? <br>
<br>I haven't attached sample data, because for now I'd simply like to know if parallel processing is possible with ADMB? If so, is there documentation that could help me out? I am also happy to supply data and R code if it will help.<br>
<br>Thanks so much,<br><br>Tara<br><br><div>--</div>Tara L. Crewe, PhD Candidate<br><br>Department of Biology<br>University of Western Ontario<br>1151 Richmond Street<br>London, Ontario, Canada, <br>N6A 3K7<br><br>Tel: <a href="tel:519-661-2111%20x%2084646" value="+15196612111" target="_blank">519-661-2111 x 84646</a><br>
email: <a href="mailto:tcrewe2@uwo.ca" target="_blank">tcrewe2@uwo.ca</a>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>