clquezada / tRophicPosition

estimate trophic position using stable isotope data
16 stars 3 forks source link

Error in TP parallel model run #108

Open MixSIAR opened 3 years ago

MixSIAR commented 3 years ago

Hi Claudio, I am having a challenge running my TP model with the lines of code below; system.time(wal_TPmodels <- parallel::parLapply(cluster, walList_1, multiModelTP, adapt = 20000, n.iter = 20000, burnin = 20000, n.chains = 5, model = "twoBaselinesFull")) parallel::stopCluster(cluster)

Here is the error produced. Error in checkForRemoteErrors(val) : 2 nodes produced errors; first error: Error in node dCb2[1] Failure to calculate log density
Error in checkForRemoteErrors(val) : 2 nodes produced errors; first error: Error in node dCb2[1] Failure to calculate log density

In addition: Warning messages: 1: In .Internal(gc(verbose, reset, full)) : closing unused connection 11 (<-a057335:11849) 2: In .Internal(gc(verbose, reset, full)) : closing unused connection 10 (<-a057335:11849) 3: In .Internal(gc(verbose, reset, full)) : closing unused connection 9 (<-a057335:11849) 4: In .Internal(gc(verbose, reset, full)) : closing unused connection 8 (<-a057335:11849) 5: In .Internal(gc(verbose, reset, full)) : closing unused connection 7 (<-a057335:11849) 6: In .Internal(gc(verbose, reset, full)) : closing unused connection 6 (<-a057335:11849) 7: In .Internal(gc(verbose, reset, full)) : closing unused connection 5 (<-a057335:11849) 8: In .Internal(gc(verbose, reset, full)) : closing unused connection 4 (<-a057335:11849) Timing stopped at: 0.03 0 107.2

I am not sure what I am doing wrong. I will appreciate if you can help me resolve this.

Thanks.