[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gsl] random numbers

From: David Wilson
Subject: RE: [Bug-gsl] random numbers
Date: Thu, 17 Apr 2003 17:51:07 -0700

Ok, I was able to reproduce the documented random number generator value of 
2867219139 when I changed the generator from mt19937 to mt19937_1999.  Looks 
like a simple update of the documentation is all that's needed in regards to 
the RNG problem. 


From: David Wilson
Sent: Thu 4/17/2003 5:08 PM
To: Brian Gough
Cc: address@hidden
Subject: RE: [Bug-gsl] installation problems under Cygwin

Hi, regarding the question of how to get GSL to compile under Cygwin, I tried 
skipping the libtool commands (which I'm unacquainted with anyway) and did a 
  ar cruv libgsl.a version.o */*.o
  ranlib libgsl.a
This allowed me to compile the program rand-dist.c without problems via
  gcc gsl-randist.c -I. -L. -lgsl
However, I noticed that the output of the "mt19937" random number generator 
does not agree with the example output in the GSL documentation.  The output 
that I get for the sample program is 4293858116 versus the 2867219139 which is 
given in the documentation.  The output of the "taus" random number generator 
does however agree with the GSL documentation.  Any ideas on what's going on 


From: Brian Gough [mailto:address@hidden
Sent: Wed 4/16/2003 11:31 AM
To: David Wilson
Cc: address@hidden
Subject: RE: [Bug-gsl] installation problems under Cygwin

David Wilson writes:
 > I figured out the main problem: the configure script
 > determined that "ln -s" works, and so make makes links to
 > header files, which gcc is then unable to read.  (The gcc
 > is from msys rather than cygwin, which might account for
 > the inability to read symbolic links.)  I modified the
 > script so that "ln" is used instead, and the installation
 > progressed much further before encountering additional
 > problems.  Here's the log showing the next problem that
 > occurs.


Some web searching for the error message "undefined symbols
not allowed in i686-pc-cygwin shared libraries" suggests it is
a general problem with Cygwin & libtool affecting other
packages.  If you find there is something in GSL that can be
changed to accommodate Cygwin better let me know.

best regards,

Brian Gough

Network Theory Ltd             Phone: +44 (0)117 3179309
15 Royal Park                    Fax: +44 (0)117 9048108
Bristol BS8 3AL                  WWW: http://www.network-theory.co.uk/
United Kingdom                 Email: address@hidden    

reply via email to

[Prev in Thread] Current Thread [Next in Thread]