forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unformatted Files Compatibility

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Wed Mar 15, 2006 6:59 am    Post subject: Unformatted Files Compatibility Reply with quote

I wrote a binary file with the F95 compiler.
I want to read this file by a program compiled by a compaq Fortran compiler.
I used all the options of the "Unformatted file conversions" provided by this compiler:

None
Big / Little Endian
Cray
IBM
Native
VAXG
VAXD

But I always failed.

What can I do ?




Bernd
Back to top
bernie



Joined: 11 Mar 2006
Posts: 3

PostPosted: Wed Mar 15, 2006 8:52 am    Post subject: Unformatted Files Compatibility Reply with quote

I found the answer by myself reading the compaq fortran manual.

The reason was the different usage of the RECL specifier.

Compaq Manual:

The RECL specifier indicates the length of each record in a file
If the file is connected for formatted data transfer, the value must be expressed in bytes (characters). Otherwise, the value is expressed in 4-byte units (longwords).

Salford always uses bytes to specify the length.


Bernd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group