gvegayon / parallel

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

include(path or cmd) option #25

Closed gvegayon closed 9 years ago

gvegayon commented 9 years ago

In order allow the user to run commands before parallel starts, like setting the adopath, running an algorithm, etc.

bquistorff commented 9 years ago

Will the includefile(filename) options serve this purpose?

gvegayon commented 9 years ago

You are right! I forgot about that! Will this work in case stata can't find parallel.mlib??

bquistorff commented 9 years ago

Well, anytime you reset the adopath you should mata: mata mlib index.

We automatically copy over PERSONAL and S_ADO (and reset mlibs), so the includefile likely doesn't have to be used for that.

gvegayon commented 9 years ago

It did worked. It was used to solve this problem https://github.com/gvegayon/parallel/issues/24#issuecomment-156743478