- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The standard does not permit a common block object to be a coarray, and a diagnostic is required (constraint C5100 in F2008).
Common blocks specify storage association for the things in them. Different scopes may declare the common block differently. I don't see how coarrays could work in that situation - in one subroutine a storage location might be associated with a coarray, in another it might not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> The standard does not permit a common block object to be a coarray, > and a diagnostic is required (constraint C5100 in F2008). > > Common blocks specify storage association for the things in > them. Different scopes may declare the common block > differently. I don't see how coarrays could work in that > situation - in one subroutine a storage location might be associated > with a coarray, in another it might not. Thanks! This makes enough justification. (Then the Cray compiler http://docs.cray.com/books/S-3694-50/html-S-3694-50/z1049401672pvl.html section 8.1.6 must presuppose the same order of variables everywhere...) Rudolf Sykora
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page