From: jspidel@csra.net (Jeffrey S. Pidel)
Subject: Re: unformatted file conversion
Date: 1996/04/05 [thread overview]
Message-ID: <467cc$671d.1ca@news.csra.net> (raw)
sondak@galileo.res.utc.com (Doug Sondak ) wrote:
DEC Fortran 77 has an option on the OPEN statement called
"CONVERT" that allows you to change the input/output of data files
that you work with. This are options little-endiad, big-endiad,
vax-d, vax-g, etc. The Fortran run time will convert them on the fly.
If you standardize on big-endiad (RS6000 format ?) for your
unformatted data files you should be OK. You could not easily write a
program to convert the files to RS6000 format unless you knew every
variable type that was being written out and its offset in the file.
>Although I am using an IBM workstation, I work closely with a
>colleague who has a cluster of DEC Alpha workstations. We
>generate unformatted files in our fortran code, but we can't
>share these files due to the different binary formats on the
>machines. (I routinely transfer files between IBM and SGI
>workstations, but I assume that the DEC words have the bits
>swapped compared to these machines.)
>Does anyone have a utility to convert these files between the
>two formats? I checked the DEC FAQ and the DEC web page, but
>I didn't come up with anything. Thanks for any help you can
>offer.
>Doug Sondak
>United Technologies Research Center
>sondakdl@utrc.utc.com
>(860) 727-2139
next reply other threads:[~1996-04-05 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-05 5:00 Jeffrey S. Pidel [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-04-02 5:00 unformatted file conversion Doug Sondak
1996-04-04 5:00 ` Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox