# Clarification on DO CONCURRENT

**URL:** <https://fortran-lang.discourse.group/t/clarification-on-do-concurrent/1647>\
**Category:** Uncategorized\
**Created:** [August 7, 2021, 6:18am UTC](https://fortran-lang.discourse.group/t/clarification-on-do-concurrent/1647 "2021-08-07T06:18:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![egio](https://avatars.discourse-cdn.com/v4/letter/e/dbc845/32.png) [@egio](https://fortran-lang.discourse.group/u/egio)\
**Post date:** [March 9, 2022, 12:26pm UTC](https://fortran-lang.discourse.group/t/clarification-on-do-concurrent/1647/6 "2022-03-09T12:26:46Z")

</div>

I have a question.  
What is the difference between a variable with SHARED locality compared with one with unspecified locality (in a do concurrent of course)?  
Are there examples of different behaviour, or is the SHARED locality just a guarantee given by the programmer to the compiler?  
Or examples where without the SHARED locality the code is non conforming.

Thanks

---

_[View the full topic](https://fortran-lang.discourse.group/t/clarification-on-do-concurrent/1647)._
