university-of-newcastle-research / pmwg

Repository for code for the Samplers Team at UoN
3 stars 3 forks source link

Error during parallel calls hide source of the issue #53

Closed gjcooper closed 3 years ago

gjcooper commented 3 years ago

Is your feature request related to a problem? Please describe. When running in multiple cores, the mclapply function hides the true source of the error (errors stored in the output list rather than stopping the sampler). This causes a problem when saving the log-likelihood of the winning particle to the output.

Describe the solution you'd like Detect and report the underlying error

Describe alternatives you've considered Ask people to rerun in single core mode.