pointer boundaries
Language English PROGRAM INDICES INTEGER, POINTER, DIMENSION(:) :: a, b ALLOCATE(a(0:1)) a(0) = 1 a(1) = 2 b => a WRITE(*,*) LBOUND(b,1) !__ = 0 WRITE(*,*) UBOUND(b,1) !__ = 1...
View ArticleDeallocation issues
Language English Hi,I've come to notice a very strange behaviour with the intel compiler on Linux. It's a bit difficult to explain, since I'm not able to make a minimal example (for reasons which will...
View ArticleDeallocation issues
Hi,I've come to notice a very strange behaviour with the intel compiler on Linux. It's a bit difficult to explain, since I'm not able to make a minimal example (for reasons which will become apparent)....
View Articlepointer boundaries
PROGRAM INDICES INTEGER, POINTER, DIMENSION(:) :: a, b ALLOCATE(a(0:1)) a(0) = 1 a(1) = 2 b => a WRITE(*,*) LBOUND(b,1) !__ = 0 WRITE(*,*) UBOUND(b,1) !__ = 1 WRITE(*,*)...
View Article