David

One way to go would be to use the MPI package, and to use mpirun to start
the Julia processes. In this way, all processes are started automatically,
and you do not need to run addprocs. The example "06-cman-transport.jl" in
the MPI package shows how to use this setup.

-erik

On Fri, Jun 3, 2016 at 2:53 PM, David Parks <[email protected]> wrote:

> I've been reading various discussions on here about launching a Julia
> cluster.
> It's hard to tell how current they are, and the documentation is a bit
> lacking on how to launch clusters under environments such as Torque. I'm
> using Julia 0.4.5 (e.g. no cookies)
>
> The primary approach that is documented is for the master Julia process to
> `addprocs` and ssh to the workers in the cluster.
>
> But this seem to conflict with the torque model, where torque launches a
> script under each assigned host. When those scripts exit the worker process
> are considered finished (as far as I understand).
>
> So it would make most sense to let torque launch the Julia workers, and
> have those workers connect back to a designated master.
>
> Is that straight forward to do with 0.4.5?
>
> I see --worker, and I thought --bind-to would allow me to specify the
> master host, but I don't see a way to tell the master that it should listen
> for workers. This is about where the documentation ends.
>
>
>


-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/

Reply via email to