My code (stripped down to what I think is relevant for this question) is
PROGRAM test IMPLICIT NONE CHARACTER(len=37) input CHARACTER(len=:), allocatable :
With Absoft Fortran, this compiles (haven't run with it yet):
character,dimension(:),allocatable::Line_for_IO !Metcalf,Reid,Cohen p. 107, w/mods if(allocated(Line_for_IO)) deallocate(Line_for_IO) allocate(Line_for_IO(7*n+40))