http://docs.julialang.org/en/release-0.4/stdlib/parallel/#Base.addprocs
On Wed, Aug 17, 2016 at 3:50 PM, Rishabh Raghunath <rishi97.me...@gmail.com> wrote: > Hello Julia Users ! > I am a beginner in Julia .. > I was wondering if there is a way to start multiple workers for parallel > processing from the Julia program rather than starting Julia from terminal > with " julia -p n " ? Is there a way that I can increase the number of > workers right from the program without actually restarting Julia with the > above command ? > I am asking this because.. I have a Programming competition coming up.. so > was thinking about using parallel processing for faster code execution.. > But the only option I have is to upload the " *.jl " file in the contest > page and they will tell you if the program was correctly executed or not.. > And occasionally We get "Time Limit Exceeded".. > So when I upload my code and they run it on their server, they probably > didn't start Julia to work with multiple workers to execute my program.. > Lets Assume they started Julia as usual with only 1 worker process.. Is > there a way that my code can add more workers and use parallel processing > (I'm guessing its not possible) ? > Or would they have started Julia with multiple workers because of the > large volume of code they receive for execution ? What do you guys think ? > And hacks to get this working ? >