error #6404: This name does not have a type, and must have an explicit type.
Declare the types of ALL your variables.
The on-line Intel Fortran developer guide and reference could be useful:
https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference
Regards, Greg
For more complete information about compiler optimizations, see our Optimization Notice.