Home > Archive > Fortran > July 2004 > Re: g77 segmentation fault possible error allocating large arrays
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: g77 segmentation fault possible error allocating large arrays
|
|
| Jan Vorbrüggen 2004-07-28, 9:06 pm |
| First step in such cases is to check on limits (stacksizes and such) and to
remove them or increase them to the max.
Of course, there is also the possibility that there's a bug in your code and
that you access an array out of bounds, said access going to an invalid
address only in the case of larger array bounds.
Jan
| |
| Rich Townsend 2004-07-29, 3:56 am |
| blue mannequin wrote:
> Also...
>
> limit stacksize unlimited only worked on the linux machines at work. For
> my home computer I had to use the command ulimit -s unlimited.
>
> Cheers,
>
> Dave
That's probably because the work machines use [t]csh as the shell, while you
home machine uses [ba]sh. Each has a different syntax for setting limits.
cheers,
Rich
--
Dr Richard H D Townsend
Bartol Research Institute
University of Delaware
[ Delete VOID for valid email address ]
|
|
|
|
|