# ClusterManagers.jl hangs on pbs

**URL:** <https://discourse.julialang.org/t/clustermanagers-jl-hangs-on-pbs/11056>\
**Category:** Julia at Scale\
**Tags:** parallel\
**Created:** [May 21, 2018, 6:34pm UTC](https://discourse.julialang.org/t/clustermanagers-jl-hangs-on-pbs/11056 "2018-05-21T18:34:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ElOceanografo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eloceanografo/32/624_2.png) [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Post date:** [May 22, 2018, 4:54pm UTC](https://discourse.julialang.org/t/clustermanagers-jl-hangs-on-pbs/11056/5 "2018-05-22T16:54:34Z")

</div>

> 1. Is there a way to use this method in an interactive session (IJulia notebook)? It seems to require a command line execution.

Yes, this is something you have to do from the command line. Maybe you could try [this workaround](https://discourse.julialang.org/t/clustermanagers-package-not-connecting-for-pbs-batch-system/8879/8), from one of the threads linked above?

> 1. Is it possible to hack the existing ClusterManagers.jl code to accommodate this approach?

I don’t think so, at least not trivially…when you call `addprocs_pbs` ClusterManagers [generates a qsub script](https://github.com/JuliaParallel/ClusterManagers.jl/blob/63770d62e3b19572101b94f18e3b2c4297aeebdc/src/qsub.jl#L71) and submits it, then finds the addresses of the processors that were started and makes them available to Julia. With the `--machinefile` approach, you request the processors first, then tell Julia where to find them when it launches.

Though if @johnh is correct, it may just be a matter of sorting out some command-line flags for different flavors of PBS…

---

_[View the full topic](https://discourse.julialang.org/t/clustermanagers-jl-hangs-on-pbs/11056)._
