SLU-TMI / TextMining.jl

Other
24 stars 7 forks source link

Parallelization #79

Open chucklesoclock opened 9 years ago

chucklesoclock commented 9 years ago

You can start Julia to use multiple local processors (aka workers) at once by julia -p 8 where 8 is the number of workers.

But what I'm unclear about is if an update to the code is necessary to specify where commands should be run. It might be as simple as adding @everywhere using [whatever modules] to specify that these modules should be made available to all workers.

See http://julia.readthedocs.org/en/latest/manual/parallel-computing/ and subsection http://julia.readthedocs.org/en/latest/manual/parallel-computing/#code-availability-and-loading-packages for reference

chucklesoclock commented 9 years ago

Btw, on matlab parallelization is achieved by simple substitution of "for" --> "parfor". Not really helpful but it could be easier than you think