Hi,
in a project, we use DLLs from different sources. One of them is compiled using Intel Fortran 9.1. It is integrated into a main program and other code compiled with Intel Fortran 2019.3. In the end, the program runs with just the runtime of Fortran 2019.3.
The code compiled in version 9.1 does an internal formatted read like this:
DOUBLE PRECISION A CHARACTER*15 STRING INTEGER TMPEXP A = 3.1415 WRITE(STRING(1:13),'(SP,E13.6)') A
The next line causes a runtime error:
READ (STRING(11:13),'(I3)') TMPEXP
forrtl: severe (268): end of record during read, unit -5, file Internal Formatted Read
This runtime error only happens within the code compiled in version 9.1 and using the runtime DLL libifcoremd.dll of version 2019.3. Previous runtime versions more recent than 9.1 did work fine.
Is there a way to get this to work?
For completion, I've attached an example of a C main program that calls the Fortran subroutine, including the build commands. If the Fortran file is compiled with 9.1 and when running with the runtime of 2019.3, there is the runtime error.
Regards
Holger