I'm about to give up on the subject, I just wanted to know if given this small 
Fortran program:

program stack
implicit none
integer*8, parameter :: k=1024
integer*8, parameter :: s=512*k*k/4
integer,automatic :: foo(s)
integer*8 i

print*, 'allocating:', s/1024*4,'kbytes'

!$omp parallel do private(i)
do i=1,s
  foo(i)=1
end do
!$omp end parallel do

pause

print*, foo(1),foo(s)

print*, 'worked'
end program

which I found to SEGV on my system, what I've hit is a bug on the compilers or 
fortran/openmp libraries (and hence I should report it) or I overlooked 
something.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to