[R] torque/psb & snow library

jgarcia at ija.csic.es jgarcia at ija.csic.es
Wed Oct 22 13:07:59 CEST 2008


Hello all;
I'm trying to execute parallel jobs trough library snow on a cluster built
through torque/PSB. I'm succesfully obtaining the cluster with:


>system("cat $PBS_NODEFILE > cluster.txt")
>mycluster <- scan(file="cluster.txt",what="character")
>cl <- makeSOCKcluster(mycluster)

The only problem, at the moment, is that if I use processors in nodes
other that the one in which I'm running R, the communication is extremely
slow. If all processor are in the "master" computer there not seems ti be
any problem.

Has anyone got any experience with this and any advice? Perhaps snow() s
not adequate for this kind of clusters?

Thanks and best regards,
Javier



More information about the R-help mailing list