- 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, from one of the threads linked above?
- 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 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…