Diagnostic 8000: There is a conflict between local interface block and external interface block.

Published: 12/23/2009, Last Updated: 12/23/2009

The Intel Fortran compiler error message:

error #8000: There is a conflict between local interface block and external interface block.

is issued under the following conditions:

  • A source file contains an INTERFACE block for an external Fortran procedure
  • The interface does not match the declared interface of the actual external procedure
  • The application is compiled with the "check routine interfaces" diagnostic option (/warn:interface on Windows*, -warn interface on Linux* or Mac OS* X)
An example source that would give this error is:

program test

subroutine sub(x)
integer x
end subroutine sub
end interface

call sub(3)


subroutine sub(x)
real x ! Does not match integer
print *, x
In this case, as in many others, error 8000 would be accompanied by error 6633 about the type mismatch on the call.

The recommended solution is to put the called procedure in a module (and then USE the module), or to make it a contained procedure - either one will define an explicit interface without the need for a separate, error-prone INTERFACE block.
The following article describes a compiler defect that can cause this diagnostic to be issued incorrectly:

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804