amber-developers: Re: Busted mt19937.f with gfortran in parallel.

From: Volodymyr Babin <vbabin.ncsu.edu>
Date: Mon, 3 Nov 2008 19:31:08 -0500 (EST)

Hi All,

the mt19937.f is indeed broken (well, it depends how you define things).
Quick googling provides semi-fix : -fno-range-check flag to gfortran.
I am going to take a closer look tonight.

With kind regards,
  Volodymyr

On Mon, November 3, 2008 18:43, Ross Walker wrote:
> Okay, looking further into this it seems that the mt19937 module is only
> used by some of the NCSU code and the routine causing the problem here is
> the function
>
> random_int32
>
> Which as far as I can tell is NOT legal fortran due to it trying to stuff
> int*8 values into int*4 variables. However, since this is only used by
> Volodymyr code I thought I'd let him look at this first before I hack the
> code about to see if he can see a simple solution.
>
> All the best
> Ross
>
>
Received on Fri Dec 05 2008 - 10:34:56 PST
Custom Search