Within a module, I have the following statement:
real(kind=wp), dimension(:), allocatable :: dx
Within the subroutine containing the module, I have the following
statement:
allocate(dx(num_elem))
If I examine the variable dx with my debugger (absoft) after execution of
the allocate statement, its value is "#unallocated pointer#" as if the
allocate statement was not executed. A subsequent use of the variable dx
causes abnormal termination. Other applications of allocate have
functioned properly.
Any suggestions?
Thanks
|