Does anyone know under which level of the standard a declaration such as
logical, dimension(size(kpoint_weights_on_node)) :: weight_gt_0
is valid within a module subroutine, where
real(kind=dp), dimension(:), allocatable, public, save::kpoint_weights_on_node
is USE associated from another module? This compiles as expected on a large
variery of compilers, all except for Sun Forte Developer 7 Fortran 95 7.0 Patch
111714-09 2003/10/15 which gives a comiler error:
^
"../../../Source/Functional/secondd.F90", Line = 4811, Column = 29: ERROR: An
allocatable array is not allowed in this context.
sincerely
Keith Refson
--
Dr Keith Refson,
Building R3
Rutherford Appleton Laboratory
Chilton
Didcot kr AT isise
Oxfordshire OX11 0QX DOT nd DOT rl DOT ac DOT uk
|