Subject: Re: SIGSEGV error when using big float matrix under pvm
To: c5666305 <firstname.lastname@example.org>
From: J.T. Conklin <jtc@NetBSD.ORG>
Date: 05/18/1997 10:09:46
> I am doing a project of parallel computing using the pvm software.
> When I tried to declare a large float matrix with size 1024 * 1024,
> it resulted segmentation fault in running the program. If I use a
> float matrix with smaller size, it is ok. Is there anyone have the
> clue ? I am running out of time. Please help. Thanks.
Since I know nothing about pvm or what it is, I'll assume that you're
writing a C program of some sort. Are you defining that array on the
stack? If so, you're blowing past the stack limit. That array is
8MB. Define it as a global or file-local.