Hi all,

I'm trying to run an R module from within rpy but using the snow mpi
environment for R. The R module is parPvclust and is specifically designed
to be used with a multiprocessor environment (i.e. snow) within R. The
script I have sucessfully loads the snow package, makes the multi-processor
cluster and then runs parPVclust - but it is only actually using a single
core for the calculation.

Script:

r.library("snow")
r.library("pvclust")
set_default_mode(NO_CONVERSION)
cores = 3
cl=r.makeCluster(cores, type="MPI")
results = r.parPvclust(cl, data=data, method_hclust="complete",
method_dist="euclidean", nboot=100)

Anyone have any idea how (or whether its even possible)  to get this
working?

-- 
Cheers,

Nick Schurch

Data Analysis Group (The Barton Group),
School of Life Sciences,
University of Dundee,
Dow St,
Dundee,
DD1 5EH,
Scotland,
UK

Tel: +44 1382 388707
Fax: +44 1382 345 893



-- 
Cheers,

Nick Schurch

Data Analysis Group (The Barton Group),
School of Life Sciences,
University of Dundee,
Dow St,
Dundee,
DD1 5EH,
Scotland,
UK

Tel: +44 1382 388707
Fax: +44 1382 345 893
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to