Displaying 20 results from an estimated 100 matches similar to: "help with random numbers and Rmpi"
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
2012 Jul 05
1
trouble installing Rmpi on a debian machine
Dear R People:
I'm having trouble installing Rmpi on a debian machine.
Here is my output:
bccd at node000:~$ /bccd/home/bccd
bccd at node000:~$
bccd at node000:~$ export RMPI_TYPE=OPENMPI
bccd at node000:~$ R CMD INSTALL Rmpi_0.5-9.tar.gz
* installing to library '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.15'
* installing *source* package 'Rmpi' ...
checking for gcc...
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
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
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.
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
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
2007 Mar 21
1
Snow Package and SPRNG: Will it solve my problem?
Hello and thanks in advance for your time. I currently have a
simulation running on my cluster with the help of snow that relies on
global variables being changes regularly to random values. It uses
these values, lets call them x1 x2 and x3, in custom functions for
logliklyhood and score that gets used in the standard optim function.
To get set in the global table on the different
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
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
2005 Dec 23
1
can someone help me understand LAM/MPI and Rmpi for use on a cluster
I'm fairly astute at C and R but new to parallelization. Would someone
be willing to provide help in the form of a simple example that parallelizes
an R function from the inside of a C routine?
If so, write me back at izmirlig at mail.nih.gov
Thanks!
2003 Apr 14
2
(OT) rfc1948 question
Hi, folks @ freebsd-security.
First, I am not sure if this is apropriate topic for that list, so
sorry, if it is not.
Some time ago I have read rfc1948 (protection from blind TCP spoofing)
and became interested in the way how it is implemented in FreeBSD.
After some googling (BTW if you like Google you might be interested in
this: http://register.spectator.ru/img/bart.gif ), I found this:
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
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
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
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
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,
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
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
2002 Apr 16
1
[Fwd: Re: Multithreading]
Oops. Seems I only sent this to myself.
T.
-------------- next part --------------
An embedded message was scrubbed...
From: "Timothy H. Keitt" <tklistaddr at keittlab.bio.sunysb.edu>
Subject: Re: [R] Multithreading
Date: 16 Apr 2002 12:34:52 -0400
Size: 2091
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20020416/dd6c9385/attachment.mht