Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 Discussions

DOS con device works with df but not ivf

Intel_C_Intel
Employee
354 Views
In the past I have successully used Microsoft, Digital and most recently Compaq Visual Fortran (v 6.6A) to open a file as the DOS con device.

Intel Fortran produces the following error:

Input/Output Error 178: No such file or directory

In Procedure: main program
At Line: 2

Statement: OPEN
Unit: 29
Connected To: con

End of diagnostics

with this test program:

PROGRAM TESTCON
OPEN(29,FILE='con')
WRITE(29,100)
100 FORMAT ('1USING con DEVICE')
END

Is there some good reason why ivf does not behave like df?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
354 Views
There's no such thing as "ivf" - at least in this context.

Intel Fortran and Compaq Visual Fortran are still separate codebases, and they don't always behave alike. I suggest trying 'CONOUT$' to see if that works for you.

Steve
0 Kudos
Reply