gvegayon / parallel

PARALLEL: Stata module for parallel computing
https://rawgit.com/gvegayon/parallel/master/ado/parallel.html
MIT License
117 stars 26 forks source link

Default behavior on error #36

Closed bquistorff closed 8 years ago

bquistorff commented 8 years ago

I wanted to discuss the possibility of changing the behavior of parallel when there is an error in the clusters. Currently a message is displayed and a value is returned in r(). Most commands, however, exit with an error when not being able to run. Why is it that parallel doesn't display a message and then throw an error?

gvegayon commented 8 years ago

Sounds like a better option. I don't recall why I did it that way, but it actually doesn't make sense to not throw an error if there is one in any of the clusters. Let's do it that way.

bquistorff commented 8 years ago

Done.