application crash if compiled with -fopenmp

Daniel Franke franke.daniel@gmail.com
Tue Jan 8 22:49:00 GMT 2008


On Tuesday 08 January 2008 18:53:40 Tobias Burnus wrote:

Tobias, Asher,

thanks for the pointers! 


> Daniel Franke wrote:
> > Some digging showed that this can be easily reproduced:
> > $> cat sigsegv.f90
> >   real(8), dimension(10000000) :: largearray
> >   largearray = 1.0_8
> >   end
> >
> > [...]
> >
> > Is this intended and/or necessary for OMP?
>
> I remember having thought about this awhile ago. It is necessary that
> the array is not in static memory in the following case:

Point taken.


> You could specify "SAVE" which should help in this case. 

In this case, yes. In the original one ... luckily, it's not me who's going to 
figure this out ;)


Thanks
	Daniel



More information about the Fortran mailing list