- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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?
- Balises:
- Intel® Fortran Compiler
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks, Steve!
This file formatting issue was indeed a feature of general and not of ioformat.

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable