Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: kraemer@clri6f.gsi.de (Michael Kraemer)
Subject: Re: Conversion of sequential unformatted files
Date: 1999/11/12	[thread overview]
Message-ID: <80hkga$5ck$1@sun27.hrz.tu-darmstadt.de> (raw)
In-Reply-To: 382C1FE0.54E29B8C@armoise.saclay.cea.fr

In article <382C1FE0.54E29B8C@armoise.saclay.cea.fr>, Remi NAPOLEONE <napo@armoise.saclay.cea.fr> writes:
> I'm trying to convert several types of unformatted files from
> Cray machines (C90 and T3E) to ES40 machines.
> Unformatted DIRECT-access files work well with "-convert big_endian" F90 
> parameter or something equivalent with OPEN statement.
> Unformatted SEQUENTIAL-access files seem to be more difficult.
> Does anyone have a solution to this problem or some reference on the net ?

You're talking about FORTRAN data files, right ?
If I remember correctly sequential files are organized in records,
with the record length as a binary 4-byte number attached before and
after the data portion. This way the FORTRAN runtime can walk forth and back
through data files consisting of data records with variable length. 



  reply	other threads:[~1999-11-12  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-12  5:00 Conversion of sequential unformatted files Remi NAPOLEONE
1999-11-12  5:00 ` Michael Kraemer [this message]
1999-11-15  5:00   ` Remi NAPOLEONE
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