[Beowulf] large array to run

Geoff Jacobs gdjacobs at gmail.com
Thu Dec 13 16:31:29 EST 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

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

!DSPAM:4761ac61196118362916074!



More information about the Beowulf mailing list