- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When the code below is run with the coarray option toggled on, different behaviors are observed depending on which line (20 or 21) is commented out.
- Commenting out line 20 yields the expected result
- Commenting out line 21 yields an access violation error on line 37.
Since the variable on line 37 is not coindexed, I am surprised by this result. Does this work with version 18 of the compiler?
MODULE M IMPLICIT NONE TYPE,ABSTRACT :: T_SHAPE_CONTAINER CHARACTER(LEN=:),ALLOCATABLE :: NAME END TYPE T_SHAPE_CONTAINER TYPE,EXTENDS(T_SHAPE_CONTAINER) :: T_POINT_CONTAINER REAL,ALLOCATABLE :: COORDINATES(:,:) END TYPE T_POINT_CONTAINER TYPE,EXTENDS(T_SHAPE_CONTAINER) :: T_LINE_CONTAINER REAL,ALLOCATABLE :: COORDINATES(:,:,:) END TYPE T_LINE_CONTAINER TYPE :: T_CONTAINER CLASS(T_SHAPE_CONTAINER),ALLOCATABLE :: SHAPE_CONTAINER END TYPE T_CONTAINER TYPE :: T_SHAPE_DATA TYPE(T_CONTAINER),ALLOCATABLE :: SHAPES(:) END TYPE T_SHAPE_DATA TYPE(T_SHAPE_DATA) :: SHAPE_DATA_1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, this does not work with 18.0 Update 1.
Could you please report it via the support site? that's the best way to get the bug into our internal problem reporting data base, therefore getting it on our work list, etc.
Thank you for your help -
--Lorri
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, this does not work with 18.0 Update 1.
Could you please report it via the support site? that's the best way to get the bug into our internal problem reporting data base, therefore getting it on our work list, etc.
Thank you for your help -
--Lorri
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page