This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch libfortran/28452] random intrinsics for large reals
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: jvdelisle at verizon dot net, sgk at troutmask dot apl dot washington dot edu
- Cc: fortran at gcc dot gnu dot org, howarth at bromo dot msbb dot uc dot edu, Thomas dot Koenig at online dot de
- Date: Mon, 31 Jul 2006 00:06:51 -0400 (EDT)
- Subject: Re: [Patch libfortran/28452] random intrinsics for large reals
Steve,
When I tried to change ep to ep=kind(1.e0_16) in the equidistrib source,
the resulting code crashes as follows...
equidistrib(18433) malloc: *** vm_allocate(size=1600000000) failed (error code=3)
equidistrib(18433) malloc: *** error: can't allocate region
equidistrib(18433) malloc: *** set a breakpoint in szone_error to debug
Fortran runtime error: ALLOCATE: Out of memory.
Do you think this is a bug in the equidistrib code or in the current random
patch? The random_3.f90 testcase runs fine with the last patch (plus the
minor correction).
Jack