# How to launch the julia on cluster under Torque scheduler

**URL:** https://discourse.julialang.org/t/how-to-launch-the-julia-on-cluster-under-torque-scheduler/8155
**Category:** Julia at Scale
**Created:** [January 4, 2018, 1:47pm UTC](https://discourse.julialang.org/t/how-to-launch-the-julia-on-cluster-under-torque-scheduler/8155 "2018-01-04T13:47:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Anna\_W](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@Anna\_W](https://discourse.julialang.org/u/Anna_W)
#### Post date: [January 4, 2018, 1:47pm UTC](https://discourse.julialang.org/t/how-to-launch-the-julia-on-cluster-under-torque-scheduler/8155/1 "2018-01-04T13:47:41Z")

</div>

Hello,  
I would be grateful for any help. I was successful in using the ClusterManager.jl package udder slurm scheduler.  
But I had to switch to another cluster with the torque scheduler and the addprocs() and addprocs\_pbs() do not work. I am using the specific Julia parallel constructions like distributed arrays and spawnat() macro.  
Thank You for all help.

---

<div class="post-metadata">

### Author: ![vchuravy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vchuravy/32/8_2.png) [@vchuravy](https://discourse.julialang.org/u/vchuravy)
#### Post date: [January 5, 2018, 12:02am UTC](https://discourse.julialang.org/t/how-to-launch-the-julia-on-cluster-under-torque-scheduler/8155/2 "2018-01-05T00:02:55Z")

</div>

Why is `addprocs_pbs` not working? What kind of error are you getting?

---

<div class="post-metadata">

### Author: ![Anna\_W](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@Anna\_W](https://discourse.julialang.org/u/Anna_W)
#### Post date: [January 5, 2018, 9:36pm UTC](https://discourse.julialang.org/t/how-to-launch-the-julia-on-cluster-under-torque-scheduler/8155/3 "2018-01-05T21:36:00Z")

</div>

Unfortunatelly none. The task task seems to be running but it does not give any result and after a timwout it is killed. Moreover the addprocs() work well but only up to 3 nodes.
