<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Jenni,<div><br></div><div>   Well, looking closely at the error, this is something we haven't had before. My first thought is that this has to do with the starting parameters; when you run more than one simulation, it sets initial parameters from different points, and maybe what's happening is that some of the initial parameters are way off. We were sure that this wouldn't happen anymore, but maybe your dataset has a different structure from what we had tried before. Try setting the argument "thetaStart" to c(-6, 0.001), or something along those values and let us know what happens. If this doesn't work, what we could do is that you could send us the dataset so we try to reproduce and fix the error. Of course, as soon as we fix the error we would erase the dataset from our computers. </div><div><br></div><div>   Once again thanks for trying BaSTA and for posting the error! Best,</div><div><br></div><div>   Fernando<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">______________________________________________</div><div><div> </div><div>Fernando Colchero</div><div><br></div><div>Max Planck Institute for Demographic Research</div><div>Konrad Zuse Str. 1, 18057, Rostock, Germany</div><div>Tel:  +49 (0) 381 2081 113</div><div>Fax: +49 (0) 381 2081 413</div><div><div>E-mail: <a href="mailto:Colchero@demogr.mpg.de">Colchero@demogr.mpg.de</a></div></div><div>______________________________________________</div></div><div><br></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></span></span>
</div>
<br><div><div>On Mar 30, 2012, at 4:23 PM, Graham, Jennifer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear Fernando,<br><br>Thank you for your help.<br><br>These are the package versions I used: snowfall_1.84 snow_0.3-8,  BaSTA_1.2,     msm_1.1<br>and R version 2.14.2<br><br>Regards<br><br>Jenni<br>________________________________________<br>From: Colchero, Fernando [Colchero@demogr.mpg.de]<br>Sent: 30 March 2012 14:20<br>To: Graham, Jennifer<br>Cc: <a href="mailto:basta-users@lists.r-forge.r-project.org">basta-users@lists.r-forge.r-project.org</a><br>Subject: Re: [Basta-users] Errors when attempting to run multiple chains<br><br>Dear Jenni,<br><br>   Thanks a lot for posting the error in the BaSTA mailing list. What version of BaSTA are you using? We had a bug in version 1.1 that usually gave that error. Would you mind installing version 1.2 and running it again? Please let us know if you get the error again; we can help you go through your data and find out where the problem might be.<br><br>   Best,<br><br>   Fernando<br><br>______________________________________________<br><br>Fernando Colchero<br><br>Max Planck Institute for Demographic Research<br>Konrad Zuse Str. 1, 18057, Rostock, Germany<br>Tel:  +49 (0) 381 2081 113<br>Fax: +49 (0) 381 2081 413<br>E-mail: Colchero@demogr.mpg.de<<a href="mailto:Colchero@demogr.mpg.de">mailto:Colchero@demogr.mpg.de</a>><br>______________________________________________<br><br><br><br><br><br>On Mar 30, 2012, at 2:24 PM, Graham, Jennifer wrote:<br><br>Hi,<br><br>I have a long-term mark-recapture dataset and the data checking function works great and I have been able to run single simulations. However when using the same data, and general model settings I get an error when I attempt to run multiple chains, I tried running with and without parallel= TRUE and I get a different error each time, see below for R Code used and errors.<br><br>Thanks for your help and a great R package.<br><br>Kind Regards<br><br>Jenni<br><br>newData<-DataCheck(DATA,studyStart=25,studyEnd=112,autofix=rep(1,7),silent=FALSE)<br><br>Output from DataCheck:<br><br>No problems were detected with the data.<br>*DataSummary*<br>- Number of individuals         =    1,460<br>- Number with known birth year  =    1,351<br>- Number with known death year  =       0<br>- Number with known birth<br>AND death years                =       0<br>- Total number of detections<br>in recapture matrix            =    7,697<br>- Earliest detection time       =      25<br>- Latest detection time         =     112<br>- Earliest recorded birth year  =       1<br>- Latest recorded birth year    =     109<br><br>out<-basta(DATA,studyStart=25,studyEnd=112) #  This single simulation works<br><br>out<-basta(DATA,studyStart=25,studyEnd=112,,nsim=4,parallel=TRUE,ncpus=4)#  I get the following error which occurs regardless  of the number of simulations I request or the ncpus value<br><br>Error in checkForRemoteErrors(val) :<br> 2 nodes produced errors; first error: missing value where TRUE/FALSE needed<br><br>#As I thought it could be due to the snowfall package I also ran parallel=FALSE and then get another error<br><br>Error in if (post == -Inf) { : missing value where TRUE/FALSE needed<br><br><br><br>--------------------------------------------------------------------------------<br>Jennifer Graham<br>PhD Researcher<br>Centre for Ecology and Conservation<br>University of Exeter, Cornwall Campus<br>Tremough<br>Penryn<br>Cornwall<br>TR10 9EZ<br>_______________________________________________<br>Basta-users mailing list<br>Basta-users@lists.r-forge.r-project.org<<a href="mailto:Basta-users@lists.r-forge.r-project.org">mailto:Basta-users@lists.r-forge.r-project.org</a>><br><a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users</a><br><br><br>----------<br><br>This mail has been sent through the MPI for Demographic Research. Should you receive a mail that is apparently from a MPI user without this text displayed, then the address has most likely been faked. If you are uncertain about the validity of this message, please check the mail header or ask your system administrator for assistance.<br><br><br><br></div></blockquote></div><br></div></body></html>