Please unset USE_F90_ALLOCATABLE and USE_FASTMEM (since they can be used only with the current development version of NWChem and not with version 6.6) and then recompile
unset USE_F90_ALLOCATABLE
unset USE_FASTMEM
rm $NWCHEM_TOP/lib/$NWCHEM_TARGET/libtce.a
cd $NWCHEM_TOP/src/tce
make FC=ifort
cd ..
make FC=ifort link