- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Visual Fortran version IA-32, Version 10.1.019 for Windows
hi,
The "Microsoft Fortran PowerStation Compatible Files" /fpscomp:ioformat compiler option appears to be non-working.
If I compile (sample from the IVF help (ms-its:C:Program FilesIntelCompilerFortran10.1.019Docsldaps_for.chm::/common/bldaps_mspowfiles.htm) this source:
PROGRAM test
OPEN (3,FILE='FDIR', FORM='FORMATTED', ACCESS='DIRECT',RECL=10)
WRITE (3, '(A10)', REC=1) 'RECORD ONE'
WRITE (3, '(I5)', REC=3) 30303
CLOSE (3)
END
With this compiler option:
ifort /fpscomp:ioformat
After execution of the program I get a file of 30 bytes. This is wrong because each record should contain 10 bytes+2 bytes CR-LF, thus 36 bytes in total. The CR-LFs are missing.
Any solution or workaround?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve!
This file formatting issue was indeed a feature of general and not of ioformat.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page