search for: mpi

Displaying 20 results from an estimated 900 matches for "mpi".

Did you mean: api
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...
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: ") mpi.reduce(1,op="prod")...
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: ") mpi.reduce(1,op="prod")...
2008 Jul 01
2
problem with mpiexec and Rmpi
Dear R People: I'm having some trouble with mpiexec and Rmpi. I would like to be able to pass in the number of "children" via the mpiexec command (from the command line). this is in SUSE10.1, with R-2.7.1 Here are my files: cat eb.R library(Rmpi) mpi.remote.exec(paste("i am",mpi.comm.rank(),"of",mpi.comm.size())...
2014 Mar 20
1
modifying data in a package
I've tweaked Rmpi and want to have some variables that hold data in the package. One of the R files starts mpi.isend.obj <- vector("list", 500) #mpi.request.maxsize()) mpi.isend.inuse <- rep(FALSE, 500) #mpi.request.maxsize())...
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(...
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....
2008 Jul 16
1
Problem with mpi.close.Rslaves()
I am running R 2.7.0 on a Suse 9.1 linux cluster with a job scheduler dispatching jobs and openmpi-1.0.1. I have tried running one of the examples at http://ace.acadiau.ca/math/ACMMaC/Rmpi/examples.html in Rmpi and they seem to be working, except mpi.close.Rslaves() hangs. The slaves are closed, but the master doesn't finish its script. Below is the example script and the call to R. The job...
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 install command (which seems to go OK and then the start of the R session, which fails. I was hoping someone with some experience installing Rmpi on MPICH could give me some help...
2007 Apr 24
1
Problem installing Rmpi with lam on SGI SLES9
Hi, I've been trying here to install Rmpi on an SGI IA-64 machine with 64 processors, running SuSE Linux Enterprise Server 9, R 2.4.0 and lam-mpi 7.1.3. While I've read of similar problems on this list, I think I've got an entirely new set of error messages to contribute (see below). I'm not sure what the actual error is and wh...
2005 Dec 20
2
Install Rmpi on Fedora with mpich2 installed.
Hi, everyone, I want to install Rmpi on a cluster with Fedora linux. It already installed mpich2, but not lam-mpi. I installed R-2.2.0 on it already. And I got error as below: * Installing *source* package 'Rmpi' ... Try to find mpi.h ... checking for gcc... gcc checking for C compiler default output file name... a.out check...
2015 May 25
0
foreach hangs when using doMPI on Windows with Microsoft MPI
??I installed Microsoft MPI. Then installed the foreach and Rmpi packages. Then built doMPI from source. mpi.remote.exec works. foreach hangs with the main process and all worker processes idle. I launch my script with mpiexec: "C:\Program Files\Microsoft MPI\Bin\mpiexec" -n 3 "C:\Program Files\R\R-3.2...
2005 Apr 08
2
error on install Rmpi packages
Dear Sir/Madam, I need to install Rmpi Package on my linux debian like, but I get some errors. I try to instal it using install.packages or after download and save it on my local dir and run R CMD INSTALL packagename and, both, I get these errors: checking mpi.h usability... no checking mpi.h presence... no checking for mpi.h... no...
2014 Oct 03
2
mpi.h errors on Mavericks packages
Dear mac folks, I have started porting a large legacy toolset maintained in windows and heavily mpi laden so it can be used across platforms in R... so I am building a package out of it. On this note, I am noticing that almost all of the mpi dependent packages do not compile on the CRAN repositories.... with the basic issue that it appears it can not find mpi installed: configure: error: "C...
2009 Mar 25
0
Rmpi - send/receive multiple objects to slaves
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've written a function that uses Rmpi to perform a calculation in parallel. It works fine, but I'm trying to improve efficiency in terms of memory usage and the amount of data being passed back and forth between mater and slaves. Calculations are performed on a symmetrical matrix in order to zero-out some of the cells. In the par...
2003 Dec 01
2
help with random numbers and Rmpi
Dear People, This may not be the right place to ask a question about Rmpi, but I don't know of a better one. I am trying to get a simple program working using Rmpi with the model of 1 R master and n C slaves. What I am trying to do is have each of the C slaves generate a random number from U[0,1], and then have the master collect all n numbers as a vector and output...
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 <mpi.h> #include <R.h> #include <Rdefines.h> #include <Rinternals.h> S...
2007 Oct 04
1
Rmpi_0.5-4 and OpenMPI questions
Many thanks to Dr Yu for updating Rmpi for R 2.6.0, and for starting to make the changes to support Open MPI. I have just built the updated Debian package of Rmpi (i.e. r-cran-rmpi) under R 2.6.0 but I cannot convince myself yet whether it works or not. Simple tests work. E.g. on my Debian testing box, with Rmpi installed directly us...
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: > sfInit(parallel=TRUE, cpus=2)...
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...