[CSC 435] Random Numbers

Andrew J. Pounds pounds_aj at mercer.edu
Fri Feb 5 14:22:34 EST 2016


While we may deal with high performance random number generators later, 
I know that some of you are struggling getting consistent results from 
your dusty deck code because the random number sequences produced 
between fortran and c are different.  I sat down this afternoon and 
modified  random number generator I wrote years ago (based on an ACM 
article) to produce consistent numbers between C and Fortran.   C and 
Fortran functions work well.   In addition I added driver programs for 
each one so you could test it out.

Sorry -- I didn't create a makefile yet...

Here is the repo you can clone...

https://github.com/threadmaster/rng.git


-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj



More information about the csc435 mailing list