Bug 21424 - Poisson RNG
Summary: Poisson RNG
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: R-base   
(Show other bugs)
Version: 7.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Tim Powers
QA Contact:
Depends On: 21423
TreeView+ depends on / blocked
Reported: 2000-11-28 14:24 UTC by Plummer, Martyn
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-12-14 16:18:47 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Plummer, Martyn 2000-11-28 14:24:05 UTC
The Poisson random number generator in R fails to generate correct
samples.  The tail of the distribution is truncated.  This appears to be
due to a bug in gcc 2.96 that I have submitted as #21423.

Comment 1 Tim Powers 2000-11-28 16:13:02 UTC
Just a quick question about this. If R-base is built without optimizations, you
don't have any problems? Even with the other modules?


Comment 2 Plummer, Martyn 2000-11-28 16:41:41 UTC
R-base builds and passes "make check" without optimizations, but I think it will
be unacceptably slow. Users of scientific sotware normally want to drive their
machines pretty hard and expect high performance.

I'm distributing R (via CRAN: www.r-project.org) RPMS for Red Hat 7.0 built with
gcc 2.95.2, which works well. An alternative for you might be to use kgcc in
place of gcc, but retaining g77 2.96 for the parts written in Fortran.  This
worked for me, but it has been reported that this leads to problems dynamically
loading R packages written in FORTRAN (e.g. akima).

Comment 3 Tim Powers 2000-11-28 17:10:47 UTC
Hmm. If it would slow it down the releasing unoptimized packages is not a good
solution. Thanks for pointing that out.

Unfortunately my hands are tied on this until gcc is fixed :/ If I use kgcc and
then g77 on the fortran stuff  as you mentioned, it will break other things
whcih is also unacceptable. My only good option is to keep bugging Jakub until
it's fixed.


Comment 4 Tim Powers 2000-11-30 18:58:40 UTC
I'm deferring this until gcc is fixed. Once gcc is fixed I will rebuild and
release an errata for R-base.


Comment 5 Tim Powers 2001-01-14 21:09:17 UTC
I am closing this since and errata was released for this.


Note You need to log in before you can comment on or make changes to this bug.