[J3] [EXTERNAL] Questions about DO CONCURRENT and locality

Damian Rouson damian at sourceryinstitute.org
Tue Jul 7 17:16:55 EDT 2020

Steve suggested adding a note to the standard earlier in the discussion.
Given the amount of discussion this has generated, it would be great if a
note could be added.  I'm trying to distill from this discussion what
useful advice to incorporate into upcoming Fortran 2018 courses.  Is it
correct to take away from this discussion that DEFAULT(NONE) is a good
practice to ensure that the programmer thinks through locality and
explicitly specifies it?


On Tue, Jul 7, 2020 at 9:29 AM Steve Lionel via J3 <
j3 at mailman.j3-fortran.org> wrote:

> On 7/6/2020 10:47 PM, Malcolm Cohen via J3 wrote:
> > Someone who prefers the OpenMP “pedal-to-the-metal and no brakes”
> > approach can just add DEFAULT(SHARED) to the DO CONCURRENT statement;
> > yes, that does require writing something marginally different, but it
> > is hardly a huge imposition.
> Nit - there is no DEFAULT(SHARED), and I think it's good that there
> isn't as I'd rather that all localities be explicitly specified.
> Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20200707/2b270e9e/attachment.htm>

More information about the J3 mailing list