Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Conversion of sequential unformatted files
@ 1999-11-12  5:00 Remi NAPOLEONE
  1999-11-12  5:00 ` Michael Kraemer
  0 siblings, 1 reply; 3+ messages in thread
From: Remi NAPOLEONE @ 1999-11-12  5:00 UTC (permalink / raw)


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 ?

Thank's for your help.

-- 
R�mi NAPOLEONE (napo@armoise.saclay.cea.fr)

        Communications et Syst�mes
          Syst�mes d'Information
                 ATHESA



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Conversion of sequential unformatted files
  1999-11-12  5:00 Conversion of sequential unformatted files Remi NAPOLEONE
@ 1999-11-12  5:00 ` Michael Kraemer
  1999-11-15  5:00   ` Remi NAPOLEONE
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Kraemer @ 1999-11-12  5:00 UTC (permalink / raw)


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. 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Conversion of sequential unformatted files
  1999-11-12  5:00 ` Michael Kraemer
@ 1999-11-15  5:00   ` Remi NAPOLEONE
  0 siblings, 0 replies; 3+ messages in thread
From: Remi NAPOLEONE @ 1999-11-15  5:00 UTC (permalink / raw)


That's right, it's about Fortran files.
Nevertheless, do you think it's possible to ignore these record lenght
for sequential files ?

Thank's
Remi.

Michael Kraemer wrote:
> 
> 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.

-- 
R�mi NAPOLEONE (napo@armoise.saclay.cea.fr)

        Communications et Syst�mes
          Syst�mes d'Information
                 ATHESA
TEL:01 69 08 51 02 / GSM: 06 87 40 81 46



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-15  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-12  5:00 Conversion of sequential unformatted files Remi NAPOLEONE
1999-11-12  5:00 ` Michael Kraemer
1999-11-15  5:00   ` Remi NAPOLEONE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox