domel

direct-access I/O to unit open for keyed access

Discussion created by domel on Aug 31, 2008
Latest reply on Feb 3, 2009 by chipf

When I link my program with ACML I get the following error reading from a file:

direct-access I/O to unit open for keyed access

If I link to Intel MKL the error does not occur. Hints how to resolve it are most appreciated.

Facts: compiling with ifort 10.1 on a 64bit linux, 2xDual-Core AMD Opteron(tm) Processor 2220. No errors compiling / linking.
The code lines causing trouble:

OPEN(IN, FILE=INPNAME, ACTION='READ', IOSTAT=IO)
IF(IO/=0) CALL ERROR('ERROR OPENING '//INPNAME)
DO
    READ(IN, *, IOSTAT=IO) KEY

...

The READ fails when the program is linked with ACML but not Intel's MKL.

Outcomes