Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: lmp@xncse1.orfs.ornl.gov (Petrie L M)
Subject: Re: Reading sun binaries on DEC-Alpha f77?
Date: 1998/08/20	[thread overview]
Message-ID: <6rho3g$7c3$1@sws1.ctd.ornl.gov> (raw)
In-Reply-To: r74g1f2tkrr.fsf@caesar.ifm.uni-kiel.de

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

According to Joerg Lippmann  <jlippmann@ifm.uni-kiel.de>:
-->
-->Hi!
-->
-->Is there an easy way to read sun binary data files with DEC-Alpha
-->f77-programs?
-->
-->J�rg
-->

Yes. set an environment variable FORT_CONVERTnn to "BIG_ENDIAN",
where nn is the logical unit number in fortran used to read 
(or write) the file, before running your program. You can use
as many nn's as needed. This does depend on the program reading
the data into the correct data type. 

-- 
Lester M. Petrie                                       Email: (lmp@ornl.gov)
Computational Physics and Engineering Division         Phone: (423) 574-5259
Oak Ridge National Laboratory,                         FAX:   (423) 576-3513
P. O. Box 2008  MS-6370, Oak Ridge, TN 37831-6370



  parent reply	other threads:[~1998-08-20  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-12  4:00 Reading sun binaries on DEC-Alpha f77? Joerg Lippmann
1998-08-19  4:00 ` James W. Caldwell
1998-08-20  4:00   ` Mike Iglesias
1998-08-20  4:00 ` Petrie L M [this message]
1998-08-20  4:00 ` Mark Taylor
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