- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I'm sure this used to work, but it no longer worsk in v9.1. I am trying to share an allocatable array between subroutines using common (Modules are easy, but we cannot use them). Here is the bit of code.
program Console1
implicit none
real*8, pointer :: xPts(:)
common /iteration_r1/ xPts
allocate(xPts(502))
continue
end program Console1
If I put a break on the continue line, the variable watch on xPts says "Undefined pointer/array". Am I doing anything wrong?
Adrian
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Have you tried 9.1.032? It includes some debugger fixes and I think may address this.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Yes, pointer, sorry. I just installed 032 and I have the same problem. I can give the array elementsa value and printthem out, but debugging is impossible as it says Undefined pointer/array. How do I view these in the debugger?
Adrian
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
May I suggest using module variables rather than COMMON? It is the more modern approach.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I wish I could, but we cannot use Modules in our project as yet. When could I get a copy of the fix?
Adrian
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla