here is the parsing function in case that helps: https://github.com/floswald/mpitest/blob/removeMaster/julia/iridis/sge.jl
On Friday, 1 August 2014 15:03:49 UTC+1, Florian Oswald wrote: > > Hi, > > I'm trying to setup a cluster across machines on a PBS managed cluster. I > parse the PBS_NODEFILE, which for the case of a submit script with option > > #PBS -l nodes=2:ppn=12 > > looks like this: > > node001 > node001 > node001 > ... > node002 > ... > node002 > > I am unsure about what exactly I have to give to addprocs(). I don't want > to add the master process, so I exclude ENV["HOST"] = node001. but what > about all processors with the same name "node002"? do i list all of those > > machines = [ "node002" for i=1:12] > > or just ones > > machines = ["node002"] > > in addprocs(machines) > > ? >
