||tutorial||setup||slide||poster||download||

RGridRPC

Parallel Computing with R using GridRPC


RGridRPC includes ninf-g5 in an archive. RGridRPC works only by a system such as UNIX.

tutorial

Minimum installation and test.
Install
R -q -e 'dir.create(Sys.getenv("R_LIBS_USER"),rec=T)'
R CMD INSTALL RGridRPC_0.yy-yday.tar.gz
  
Setup
library(RGridRPC)
makeninfgconf()                                 # default is ng_hostname()
cat(readLines(file("client.conf","r")),fill=T)  # look client.conf
                                                # look GridRPC.<ng_hostname>.nrf
cat(readLines(file(paste("RGridRPC",ng_hostname(),"nrf",sep="."),"r")),fill=T)

  
If you use ssh, Please note the value of MaxStartups of sshd_config. It is dangerous to perform this setting with a server on DMZ.
#MaxStartups 10:30:60
MaxStartups 24:30:60
  
Test
library(RGridRPC)
cl<-GRPCmake(rep(ng_hostname(),4))
GRPCcall(cl,function(){x<-Sys.getpid();cat(x,fill=T);x})
GRPCstop(cl)

setup

client side
see Creating and setting up client-side programs(Ninf-G)

slide

Parallel Computing with R using GridRPC - useR! 2010 (NIST, Gaithersburg)


poster

Parallel Computing with R using GridRPC - SC10


download

Icon  Name                     Last modified      Size  Description
[DIR] Parent Directory - [DIR] old/ 20-Jul-2011 11:09 - [   ] RGridRPC_0.11-201.tar.gz 20-Jul-2011 11:09 6.1M