[R] Parallel computing in R for dummies--how to optimize an external model?

From: Waichler, Scott R <Scott.Waichler_at_pnl.gov>
Date: Tue 14 Feb 2006 - 16:11:28 EST

I am trying to use the optimizing function genoud() with the snow package on a couple of i686 machines running Redhat Linux WS4 . I don't know anything about PVM or MPI, so I just followed the directions in snow and rgenoud for the simplest method and started a socket cluster. My function fn for genoud involves updating an input file for a separate numerical model with the latest parameter set from the optimizer, running the (compiled) model on the input file with system(), and processing the output including calculation of objective function. The whole process works on the localhost machine in one cpu, and I can see that an R session is created in the second, non-localhost machine, but it doesn't seem to be doing anything. All of the model runs generated by the application of genoud take place in the cpu. What am I missing? I can see where there would be a conflict in having multiple processors trying to access the same system model input file at once, but I don't see any indication of that type of problem.

Grateful for any help,

Scott Waichler
Pacific Northwest National Laboratory
scott.waichler@pnl.gov



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 14 16:18:58 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:29 EST