however, enabling the USE_F90_ALLOCATABLE flag for stable version of NWChem 6.6 will cause compilation error:
...
because l_a and l_t are not defined when USE_F90_ALLOCATABLE is enabled.
This is just a bug. It does not exist in the latest version of the code. Can you download the trunk version instead?