Displaying 20 results from an estimated 10000 matches similar to: "Does R ever move objecsts in memory?"
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())
and then functions update those variables with <<-. When run:
2010 Jan 15
2
optional package dependency
I have a package that can use rmpi, but works fine without it. None of
the automatic test code invokes rmpi functionality. (One test file
illustrates how to use it, but has quit() as its first command.)
What's the best way to handle this? In particular, what is the
appropriate form for upload to CRAN?
When I omitted rmpi from the DESCRITPION file R CMD check gave
<quote>
* checking
2014 Mar 12
1
2 versions of same library loaded
Can anyone help me understand how I got 2 versions of the same library
loaded, how to prevent it, and what the consequences are? Running under
Debian GNU/Linux squeeze.
lsof and /proc/xxx/map both show 2 copies of several libraries loaded:
/home/ross/install/lib/libmpi.so.1.3.0
/home/ross/install/lib/libopen-pal.so.6.1.0
/home/ross/install/lib/libopen-rte.so.7.0.0
2004 Mar 23
2
Status of Rmpi
Rmpi is not currently available on CRAN, and I don't think it has been
for a few months. It is available at
http://www.stats.uwo.ca/faculty/yu/Rmpi/
Does anyone know its current status?
A few months ago I corresponded with the author, who noted some build
problems (specifically on Debian) were the hang up, and seemed to be
working on it. I wasn't able to get it to work then (on a
2010 Feb 12
1
packages in cran2deb and Debian
Some packages are available in cran2deb and Debian. After adding
cran2deb to my sources.list it seems the cran2deb ones are favored
because X.Y-ZcranN is "more recent" than X.Y-Z.
In the case of r-cran-rmpi the effect of this was to cause aptitude to
want to uninstall all my mpi stuff. Apparently the automatically
generated package doesn't have mpi as a dependency.
I just put a
2007 Mar 28
4
Rmpi and OpenMPI ?
Has anybody tried to use Rmpi with the OpenMPI library instead of LAM/MPI?
LAM appears to be somewhat hardcoded in the Rmpi setup. Before I start to
experiment with changing this, has anybody else tried Rmpi with non-LAM MPI
implementations?
Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
2006 Feb 13
1
Turning control back over to the terminal
I'm invoking R from withing a shell script like this
R --no-save --no-restore --gui=none > `hostname` 2>&1 <<BYE
# various commands here
BYE
I would like to regain control from the invoking terminal at some point.
I tried source(stdin()) but got a syntax error, presumably stdin is the
little shell here snippet (the part between <<BYE
and BYE).
Is there some way to
2007 Jan 25
2
serialize() takes too long when serializing to a raw vector
Hello,
R version 2.4.1 (2006-12-18)
i386-pc-mingw32
Calling serialize() with a NULL connection serializes it to a raw vector. However, when the object to be serialized is large, it takes a very long time:
> system.time( serialize(matrix(0, 1000, 1000), NULL) )
[1] 38.25 40.73 81.54 NA NA
> system.time( serialize(matrix(0, 2000, 2000), NULL) )
[1] 609.72 664.75 1318.57 NA
2004 Mar 24
0
Status of Rmpi--Good with tweaks
Thanks--I'll try this new version when I get back to working on
this--hopefully soon.
luke
On Tue, 23 Mar 2004, Hao Yu wrote:
> Sorry. I have not been able to update Rmpi since the version
> 0.4-4 on R site. However, I have been using and testing Rmpi
> internally since 0.4-4. Now it is version 0.4-7. See the
> attached package. It requires R 1.8.1 (no more serialize
>
2007 Jun 30
1
random numbers
Although this query was inspired by distributed random number
generation, one of the questions (#2 below) is a single-machine issue.
I call C++ code from R to generate simulated data. I'm doing this on a
cluster, and use rmpi and rsprng. While rsprng randomizes R-level
random numbers (e.g., from runif), it has no effect on the C code, which
is completely SPRNG and MPI ignorant.
Currently I
2005 Oct 27
2
installing Rmpi
Hello,
I've installed R on my RHEL3 cluster and I am trying to get Rmpi to
work properly.
R is installed using the following
./configure --prefix=/home/apps/R-2.2.0
I installed snow using
R CMD INSTALL /home/apps/snow
And finaly Rmpi
R CMD INSTALL /home/apps/Rmpi --configure-args=--with-mpi=/path/to/lam
There were no errors or warnings upon installation. However when i
perform the test
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
using Open Mpi 1.2.3-2 (from Debian) and using 'r' from
2008 Oct 30
1
Compiling R Packages
I am working on a SLES 10 cluster with R available on it. To better use my resources, I want to use Rmpi, but I am having a difficult time installing it. I have set the $R_LIBS variable correctly.
The MPI libraries are available through the PGI compiler, but this R instance was compiled with GCC.
The Rmpi package can be compiled and installed with
%R CMD INSTALL Rmpi_0.5-5.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
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
2015 Apr 07
1
Rmpi install issues
Hi Folks,
I've recently transitioned to Debian 8.0 and was having a hard time
getting Rmpi to work.
I believed I'd successfully installed dependencies via
> sudo apt-get install r-cran-rmpi
> apt-show-versions r-cran-rmpi
r-cran-rmpi:amd64/jessie 0.6-5-1 uptodate
but when installing the package I was still getting
checking mpi.h presence... no
checking for mpi.h... no
2011 Jan 07
1
Trouble with installing Rmpi package
Hi,
I am having a problem with installing Rmpi package on redhat linux machine.
The R I am using is version 2.10.1. Here’s what happens.
> install.packages( ''Rmpi'' )
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL ''http://cran.cnr.Berkeley.edu/src/contrib/Rmpi_0.5-9.tar.gz''
Content type
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
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: ")