(j3.2006) Adventures in sections of constant arrays
Steve Lionel
steve
Mon Mar 6 16:03:21 EST 2017
Might it be that Cray (and maybe PGI) doesn't put constants in
write-protected memory, thus allowing overwriting the constant? I know of
many compilers (including Intel's for a while) that did this, and it was a
classic issue further in the past.
Steve
On Mon, Mar 6, 2017 at 3:53 PM, Bill Long <longb at cray.com> wrote:
>
>
> Next: Cray
> ???????
> > module swap PrgEnv-intel PrgEnv-cray
> > ftn test.f90
> > ./a.out
> Hello, world!
>
>
> So, it is possible, although uncommon, to get this to work.
>
> Cheers,
> Bill
>
>
> .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20170306/5825b729/attachment.html
More information about the J3
mailing list