[R-sig-hpc] Antwort: Re: Plain: Problem with Rmpi

Ross Boylan ross at biostat.ucsf.edu
Tue Jan 19 19:12:55 CET 2010


On Tue, 2010-01-19 at 14:58 +0100, sebastian.rohrer at basf.com wrote:
> But I must 
> confess, I am a bit confused about the significance of the .Rprofile 
> provided with Rmpi. I'm quite sure this is because I am a total noob 
> concerning HPC but maybe you can help me understand the issue.
> After Stephen's response I changed my script to: 
> 
> require(Rmpi)
> 
> print(mpi.remote.exec(rnorm(5)))
> 
> mpi.close.Rslaves()
> mpi.quit()
> 
> and called it with
> 
> /programs/openmpi-1.3.3/bin/orterun -host node02,node03 -n 4 Rscript 
> mpiTest_03.R
You are not necessarily getting the Rmpi .Rprofile.  To use it, you need
to copy it to your startup directory, or link from there.  Or you need
to set an environment variable or use an R command line option.

On Debian Lenny, r-cran-rmpi (thanks to Dirk for the packaging) has the
file at /usr/lib/R/site-library/Rmpi/Rprofile

As others have said, you don't necessarily want to use that profile; it
depends on how you want to use Rmpi.

Ross Boylan



More information about the R-sig-hpc mailing list