Displaying 20 results from an estimated 2000 matches similar to: "Snow Package and SPRNG: Will it solve my problem?"
2010 Feb 18
2
sprng 2.0 header file for Rmpi
When I try to install Rmpi, it has a dependency rsprng which, as its
description says: Provides interface to SPRNG 2.0 APIs
I installed it on Mepis by installing the appropriate debs with
minimal drama. In the rpm world of Fedora, no such luxury.
Installing rsprng fails because:
checking sprng.h usability... no
checking sprng.h presence... no
checking for sprng.h... no
Cannot find sprng 2.0
2007 May 18
1
Cannot install rsprng package (PR#9697)
<<insert bug report here>>
I cannot install the R package "rsprng" with the following error message:
> install.packages("rsprng")
trying URL 'http://www.stathy.com/cran/src/contrib/rsprng_0.3-4.tar.gz'
Content type 'application/x-tar' length 35934 bytes
opened URL
==================================================
downloaded 35Kb
* Installing
2009 Nov 16
2
(Parallel) Random number seed question...
Hi All,
I have k identical parallel pieces of code running, each using n.rand
random numbers.? I would like to use the same RNG (for now), and set
the seeds so that I can guarantee that there are no overlaps in the
random numbers sampled by the k pieces of code.? Another side goal is
to have reproducibility of my results.? In?the past I have used C with
SPRNG for this task, but I'm hoping
2005 Jun 08
6
Random seed problem in MCMC coupling of chains
Hello!
I am performing coupling of chains in MCMC and I need the same value
of seed for two chains. I will show demo of what I want:
R code, which might show my example is:
niter <- 3
nchain <- 2
tmpSeed <- 123
for (i in 1:niter) { # iterations
for (j in 1:nchain) { # chains
set.seed(tmpSeed)
a <- runif(1)
cat("iter:", i, "chain:", j,
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 it. However even doing
2011 Mar 14
1
Installing Rmpi on hpc
Hi,
I was trying to install the package Rmpi on a hpc cluster running SGE. The
command, and the sessionInfo() is as follows:
===========================================
> install.packages("Rmpi",dependencies=TRUE)
also installing the dependency ‘rsprng’
trying URL '
http://www.ibiblio.org/pub/languages/R/CRAN/src/contrib/rsprng_1.0.tar.gz'
Content type
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
2011 Dec 12
1
(no subject)
Hi all,
I'm trying to get the snow package with mpi working on my linux ubuntu 10.04 machine. When I tried to install it (see below) it already had problems with the dependencies.
R version 2.14.0 (2011-10-31)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You
2009 Jul 30
3
user supplied random number generators
?Random.user says (in svn trunk)
Optionally,
functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be
supplied which are called with no arguments and should return pointers
to the number of seeds and to an integer array of seeds. Calls to
\code{GetRNGstate} and \code{PutRNGstate} will then copy this array to
and from \code{.Random.seed}.
And it offers as an example
void
2009 Aug 24
1
R with MPI
Hello, I plan to use R with my cluster with OpenMPI.
I need the packaged 'snow' and 'Rmpi' for that, however, I get an error
while downloading and installing them:
When I do a:
install.packages("Rmpi", dependencies=T)
I get this error:
checking for mpi.h... no
Try to find libmpi.so or libmpich.a
checking for main in -lmpi... no
libmpi not found.
2002 Dec 17
1
rsprng doesn't install on Debian (woody) (PR#2378)
Full_Name: Emmanuel Charpentier
Version: 1.6.1
OS: Linux 2.4.20 / Debian Woody
Submission from: (NULL) (80.15.78.96)
rsprng depends on libraries available in the "genesis" package. However, even
when Genesis is installed, the installation of the source package fails for not
finding rsprng.h. It turns out that Debian installs it in a subdirectoru of
/usr/include, and that the rsprng
2008 Mar 05
0
rsprng, snow, rmpi interactions
The proper use of SPRNG is a little unclear to me in each of these
packages, even more so when I put them all together.
My immediate question: in snow I did clusterSetupSRNG. If a later want
to (re) set the system to a known seed, how do I do it? That is, I want
each distributed process to recreate exactly the same random numbers
that it did before; I assume SPRNG assures the streams are
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
2004 Aug 02
2
random seed puzzle
After reading the help page on set.seed, I am unsure about how to solve the following problem. I need to call function f a thousand times. The list of values returned by f, should be as random as possible. f calls g twice:
f <- function(){g1 <- g(1); g2 <- g(2); c(g1; g2)}
The function g in turn calls sample and returns a number, but also depends on its argument, so, starting from the
2005 Feb 07
5
R on Beowulf cluster?
Dear R-help,
Has anyone tried running R on a Beowulf-type cluster? I can get R to run in
batch (using R CMD BATCH) on a cluster, but am wondering if it is possible
to get an interactive R session on a compute node. Right now, if I run:
beorun --nolocal R
I just get the R start-up message and back to the shell prompt. If I try
bpsh 0 R
I can get R started (but the R prompt does not
2012 Aug 08
1
random number generator with SNOW/ Parallel/ foreach
Dear All,
I have three classes of questions about generating random numbers with
different packages (windows xp 32bit R).
.
1. Suppose I would like to use package *foreach*, can I use current
Sys.time as a seed?
Although I can get the time up to1e-6 second precesion, the code below dose
not work well on a local machine with two cores. #################
library(foreach)
library(snow)
2007 Aug 21
1
clusterCall with replicate function
I am trying to run a monte carlo process using snow with a MPI cluster. I
have ~thirty processors to run the algorithm on and I want to run it 5000
times and take the average of the output. A very simple way to do this is
to divide 5000 by the number of processors to get a number n and tell each
processor to run the algorithm n times. I realize there are more efficient
ways to manage the
2010 Oct 24
1
140 packages in R Commander!!
Dear List
I just downloaded and installed R 2.12.0 and then installed R Commander .
First it got RCmdr and Car, and then suggested for other packages for
utilizing the full functionality- I clicked yes!
I got 140 packages installed!!! Cran Mirror was UCLA...
Here is the list.
Is this intentional- I can see some packages like snow and multicore which
are desirable but quite optional.(see list
2005 Jul 27
1
rpart.permutation, snow, rsprng binary files
Dear R-users,
Does anyone of you have binary files for the packages rpart.permutation,
snow and rsprng. I would like to use them in my classification tree. I
know they are still at the 0.x development stage, though.
Where can I get information on how to compile tar.gz files? I'm using
windows XP with R 2.1.0.
Thanks,
Jan
--------------------------------------------------------------------
2011 Aug 17
3
getNativeSymbolInfo("user_unif_rand") returns different results on windows and linux
Hi,
When loading a package that provides the user-supplied RNG hook
user_unif_rand, calling getNativeSymbolInfo("user_unif_rand") returns
informations about the loaded symbol.
I am using this to identify which package currently provides the RNG hook.
The results are the same on windows and linux if only one library
provides the hook.
If one loads a second package that provides this