search for: sprng

Displaying 20 results from an estimated 25 matches for "sprng".

Did you mean: prng
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 che...
2003 Dec 01
2
help with random numbers and Rmpi
...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 this is rather over my head. I'm trying to use rsprng and sprng, but I am sure what I am currently doing is wrong. I enclose a first attempt. Any suggestions would be appreciated. Thanks in advance. Faheem. ************************************************************************* ran...
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 35K...
2007 Mar 21
1
Snow Package and SPRNG: Will it solve my problem?
...x1 <<- sort(temp) ) ) I'm worried that this is creating a lot of avoidable message passing. Here are my questions: Does the superassign operator set the global variable on the head node, like I believe it does, or rather does it only set it on the local global table? Does the SPRNG package offer a viable replacement for useless message passing of random values like this? Thanks again for your continued help with my problems.
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 'application/x-gzip' length 35916 bytes (35 Kb) opened URL ================================================== downloaded 35 Kb trying URL ' http://www.ibiblio.org/pub/language...
2009 Aug 24
1
R with MPI
...kages("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. exiting... However, mpi.h is present via the openmpi-devel package on my RHEL 5.3. Some of those packages need sprng 2.0 (rsprng, for instance, which is a dependency for another MPI-related package). Sprng 2.0, however, isn't in developement for years, I wonder how I am supposed to keep my software up to date... Any ideas on how to workaround that mpi.h problem? Please help, --polemon [[alternative HTML...
2011 Dec 12
1
(no subject)
...l ok installed Priority: optional Section: gnu-r Installed-Size: 408 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Source: rmpi Version: 0.5-8-1 Depends: libc6 (>= 2.4), libopenmpi1.3, r-base-core (>= 2.10.1), mpi-default-bin Suggests: r-cran-rsprng Description: GNU R package interfacing MPI libraries for distributed computing This CRAN package provides an interface to the MPI (Message-Passing Interface) API. It also provides an interactive R slave environment in which distributed statistical computing can be carried out. Original-Maintaine...
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 generate a seed to pass into the C code, using as.integer(runif(1, max=.Machine$integer.max)-.Machine$integer.max/2) It seems to work. Any c...
2009 Nov 16
2
(Parallel) Random number seed question...
...ng, 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 that there is an easy way to do this in R with poor man's parallelization (eg running multiple Rs on multiple processors without the overhead of setting up any mpi or using snow(fall)). It is not clear from the documentation if set.seed arguments are sequentia...
2009 Jul 30
3
user supplied random number generators
...number of 32 bit integers. The code for PutRNGstate(), for example, uses them in just that way. While the dominant model, even on 64 bit hardware, is probably to leave int as 32 bit, it doesn't seem wise to assume that is always the case. I got into this because I'm trying to extend the rsprng code; sprng returns its state as a vector of bytes. Converting these to a vector of integers depends on the integer length, hence my interest in the exact definiton of integer. I'm interested in lifetime because I believe those bytes are associated with the stream and become invalid when the...
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 r...
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 packages assumes that it is...
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
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
2003 Apr 14
2
(OT) rfc1948 question
...curious :) ), but I am currnetly trying to understand the risks of trusted_hosts kind of security from rfc1948 point of view. I am not some cryptoanalyst, well to be honest I am totally new in cryptography, but from what I have read arc4 (or RC4 - they supposed to be identical) looks quite good as SPRNG given ARC4_MAXRUNS and ARC4_RESEED_SECONDS values are 16384 and 300s. Can anybody shed some light on this topic or point me to the URL to read. Any help is very good. ;------------------------------------------- ; NKritsky ; mailto:nkritsky@internethelp.ru
2009 Feb 06
2
Rmpi Segmentation fault
...r.Robj text html latex example mpi.get.count text html latex mpi.get.processor.name text html latex mpi.get.sourcetag text html latex mpi.info text html latex mpi.init.sprng text html latex mpi.intercomm.merge text html latex mpi.parSim text html latex mpi.parapply text html latex example mpi.probe text html latex mpi.realloc...
2005 Jun 08
6
Random seed problem in MCMC coupling of chains
...58 iter: 2 chain: 1 runif: 0.7883 iter: 3 chain: 1 runif: 0.40898 iter: 1 chain: 2 runif: 0.28758 iter: 2 chain: 2 runif: 0.7883 iter: 3 chain: 2 runif: 0.40898 iter: 1 chain: 3 runif: 0.28758 iter: 2 chain: 3 runif: 0.7883 iter: 3 chain: 3 runif: 0.40898 I was looking in 'rlecuyer', 'rsprng' and 'setRNG', but did not find anything usable for me. From reading on http://sprng.cs.fsu.edu/ 'rsprng' provides just opposite of what I want, 'rlecuyer' is a bit to technical for me, but I think it also doesn't give identical seed for parallels. 'setRNG'...
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
2007 Oct 08
0
shared object for Rmpi
...r.Robj text html latex example mpi.get.count text html latex mpi.get.processor.name text html latex mpi.get.sourcetag text html latex mpi.info text html latex mpi.init.sprng text html latex mpi.intercomm.merge text html latex mpi.parSim text html latex mpi.parapply text html latex example mpi.probe text html latex mpi.realloc...