Displaying 20 results from an estimated 10000 matches similar to: "R-help Digest, Vol 67, Issue 31"
2012 Apr 04
1
npRmpi trouble - mpi.comm.spawn causes segfault
Dear all,
I have a large dataset of randomly generated weighed sample for which I
wish to compute a kernel density estimate.
I have used the "np" package successfully for smaller datasets, however
for the larger ones, they take too long when
using the cross validation options for bandwidth selection ("cv.ls" or
"cv.ml"). Of course, they are much quicker with
2008 Sep 27
1
Problem with R on dual core under Linux - can not execute mpi.spawn.Rslaves()
Hi
I am trying to utilize my dual core processor (and later a
High-performance clusters (HPC) ) by using the Rmpi, snow, snowfall,
... packages, but I am struggling at the beginning, i.e. to initialise
the "cluster" on my dual core computer. Whenever I try to initialize
it (via sfInit(parallel=TRUE, cpus=2) or mpi.spawn.Rslaves(nslaves=2)
), I get an error message:
>
2010 Jul 12
1
How to use mpi.allreduce() in Rmpi?
Hi everybody!
I have the next code which makes a reduction of the *a *variable in two
slaves, using the Rmpi package.
library(Rmpi)
mpi.spawn.Rslaves(nslaves=2)
reduc<-function(){
a<-mpi.comm.rank()+2
mpi.reduce(a,type=2, op="prod")
return(paste("a=",a))
}
mpi.bcast.Robj2slave(reduc)
mpi.remote.exec(reduc())
cat("Product: ")
2010 Jul 12
1
How to use mpi.allreduce() in Rmpi?
Hi everybody!
I have the next code which makes a reduction of the *a *variable in two
slaves, using the Rmpi package.
library(Rmpi)
mpi.spawn.Rslaves(nslaves=2)
reduc<-function(){
a<-mpi.comm.rank()+2
mpi.reduce(a,type=2, op="prod")
return(paste("a=",a))
}
mpi.bcast.Robj2slave(reduc)
mpi.remote.exec(reduc())
cat("Product: ")
2005 Jun 17
0
Rmpi installation over MPICH
This is a rather obscure question, I realize. I have written to the
package author but have not heard back as of yet. I have read the
README in the package, as well, but it didn't give me enough detail to
diagnose the problems that I am having. (I did edit out the LAM-MPI
check in zzz.R.in.)
I am working to install Rmpi on top of MPICH on a beowulf cluster.
Below is the output of the
2008 Apr 08
1
Rmpi 0.5-6 : error spawning process
Hi,
I am using a cluster with LAM 7.1.3/MPI 2 and R 2.6.0.
Rmpi version 0.5-5 is working very well.
Now I have tested "Rmpi 0.5-6". During spawning the Rslaves I get an
error: MPI_Error_string: error spawning process
> sessionInfo()
R version 2.6.0 (2007-10-03)
x86_64-unknown-linux-gnu
locale:
2007 Sep 03
1
Snow on Windows Cluster
Hello,
the package snow is not working on a windows cluster with MPICH2 and
Rmpi. There is an error in makeCluster:
launch failed: CreateProcess(/usr/bin/env
"RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS="
C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error
3 - Das System kann den angegbenen Pfad nicht finden.
I
2008 Jul 10
0
Rmpi unkown input format error
I have just installed Rmpi on a Suse 9.1 linux cluster with
openmpi-1.0.1. I am trying the example included below from the tutorial
website. However, I keep getting the following error:
> # Load the R MPI package if it is not already loaded.
> if (!is.loaded("mpi_initialize")) {
+ library("Rmpi")
+ }
>
> # Spawn as many slaves as possible
>
2007 Jul 05
0
Question on Rmpi looping
Dear R list,
In the course of learning to work with Rmpi, we are confused about a few
points. The following simple program is based on some examples we retrieved
from the web. Each slave is writing the same output line multiple times (a
multiple equal to the number of slaves). In other words, the write
statements are being executed a number of times equal to the number of
slaves.
I am
2011 Feb 01
1
Rmpi; sample code not running, the slaves won't execute commands
Hi All,
I'm trying to parallelize some code using Rmpi and I've started with a
sample 'hello world' program that's available at
http://math.acadiau.ca/ACMMaC/Rmpi/sample.html. The code is as
follows;
# Load the R MPI package if it is not already loaded.
if (!is.loaded("mpi_initialize")) {
library("Rmpi")
}
# Spawn as many slaves as possible
2007 Dec 20
2
Multicore computation in Windows network: How to set up Rmpi
R-users,
My question is related to earlier posts about benefits of quadcore over
dualcore computers; I am trying to setup a cluster of windows xp
computers so that eventually I could make use of 10-20 cpu:s, but for
learning how to do this, I am playing around with two laptops.
I thought that the package snow would come handy in this situation, but
to use snow, I would probably need to install
2008 Oct 22
1
Problem about spawn nodes with Rmpi
Hi all,
now I'm testing R in a "virtual cluster", made it with VirtualBox. This one
has 3 nodes, running CentOS 5 and OpenMPI 1.2.8, and the principal node
(called "server") exports the /home to other nodes.
I have installed R and OpenMPI in /home, in fact, it seems work OK. Editing
the openmpi-default-hostfile and run "mpirun -np 3 hostname" I can see the
2007 Oct 08
0
shared object for Rmpi
Dear R yet again!
I finally got the Rmpi package to install! Yay!.
However, when I go into R to use it, there is an error with the dyn.load
file.
This should be simple (allegedly).
Please help.
Thanks,
Sincerely,
Erin
mailto: hodgess at gator.uhd.edu
/home/faculty/hodgess/R-2.6.0/bin
[hodgess at gator bin]$ ./R CMD INSTALL Rmpi_0.5-4.tar.gz
2009 Feb 06
2
Rmpi Segmentation fault
Dear all,
I have used the Rmpi package many times before however this time I've
installed it as I always do with openMPI tar.gz file direct from the
website. I'm installing on my ubuntu 8.10.
Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
All i get is:
> library(Rmpi)
Segmentation fault
:~$
Which dumps me back into the shell, and doens't give me much
2010 Oct 04
0
Syntax for Rmpi cf multicore
I'm aiming to compare the workings of Rmpi and multicore on a duel
processor quad core machine with 64 bit R-2.11.1 Kubuntu 10.4.
It's impossible for me to get a small reproducable code segment to
show what I mean, but if I show what works for mclapply, I'd hope it's
possible to be shown what would be the equivalent way with mpi.apply.
The function lr.gbm has variables trees,
2008 Nov 07
1
Rmpi task-pull
Hi, I'm testing the efficiency of the Rmpi package regarding parallelization
using a cluster.
I've found and tried the task pull programming method, but even if it is
described as the best method, it seems to cause deadlock, anyone could help
me in using this method?
here is the code I've found and tried:
# Initialize MPI
library("Rmpi")
# Notice we just say "give us
2007 Nov 28
0
Rmpi : openmpi and mpi.spawn.Rslaves
Hello,
I'm using R on a 10 blade dual quad core Rocks Cluster, and trying to use Rpmi and snow. I basically wondered if at the moment I ought to install Rmpi against another form of mpi (not openmpi) and wondered whether anyone could pass on any experience.
I'm mainly worried about (a) the R server taking up 100% cpu time (I think this is a known issue with Rmpi and openmpi) and (b)
2008 Mar 20
1
Rmpi and C Code, where to get the communicator
Hello,
I try to write parts of my code in C to accelerate the for-loops. But
basic operations I want to do in R (e.g. start cluster). My R code looks
something like this:
library(Rmpi)
mpi.spawn.Rslaves()
mpi.remote.exec(....)
dyn.load("test.so")
erg <- .Call("test", ....)
....
mpi.close.Rslaves()
mpi.quit()
And my C function looks something like this:
#include
2007 Jul 23
1
Rmpi installation error
Hello everybody,
I am trying to install Rmpi on 64-bit HP-Proliant server. I am facing the
following error:
* Installing *source* package 'Rmpi' ...
Try to find mpi.h ...
Found in /usr/local/mpich-1.2.7p1/include
Try to find libmpi or libmpich ...
Found libmpich in /usr/local/mpich-1.2.7p1/lib
Try to find liblam ...
checking for main in -llam... no
liblam not found. Probably not LAM-MPI
2011 Aug 17
1
[statEt] Rmpi problem in Eclipse statEt
Hi,
I try use Rmpi package to my compute. In my work I'm using eclipse version
3.6.2 and statEt version 0.10.0 (launch Rterm or RJ). Actually I observed
strange behavior, when I try loading Rmpi directly I don't have any problem
i.e.:
library("Rmpi")
mpi.spawn.Rslaves()
8 slaves are spawned successfully. 0 failed.
master (rank 0, comm 1) of size 9 is running on: marcin-HP