From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f678f,425baf02a8b3026b X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,425baf02a8b3026b X-Google-Attributes: gidfee84,public From: Remi NAPOLEONE Subject: Re: Conversion of sequential unformatted files Date: 1999/11/15 Message-ID: <38301744.C23E5070@armoise.saclay.cea.fr>#1/1 X-Deja-AN: 548847637 Content-Transfer-Encoding: 8bit References: <382C1FE0.54E29B8C@armoise.saclay.cea.fr> <80hkga$5ck$1@sun27.hrz.tu-darmstadt.de> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: newsmaster@news.cea.fr X-Trace: ellebore.saclay.cea.fr 942675862 2649 132.166.188.26 (15 Nov 1999 14:24:22 GMT) Organization: (CEA) Commissariat � l'Energie Atomique, France. Mime-Version: 1.0 NNTP-Posting-Date: 15 Nov 1999 14:24:22 GMT Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc 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 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