[Beowulf] large array to run

Geoff Jacobs gdjacobs at gmail.com
Thu Dec 13 13:31:29 PST 2007


Peter St. John wrote:
> In C I'd get a return value from malloc (like, NULL in this case,
> assuming the memory allocation failed). How does that work in modern
> fortran?
> Peter

It fails in amusingly unpredictable ways. Depending on how I spin the
counters, I can get it to repeat endlessly, or segfault initializing the
first few cells. This is with GFortran.

-- 
Geoffrey D. Jacobs




More information about the Beowulf mailing list