From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,53b00ca07b0e7ec5 X-Google-Attributes: gid111c93,public X-Google-Thread: 1094ba,53b00ca07b0e7ec5 X-Google-Attributes: gid1094ba,public From: "G. Hugh SONG" Subject: "Unformated" data in g77 between Intel & ALpha Date: 1998/10/14 Message-ID: <6vvtf4$2jo$1@news.kjist.ac.kr>#1/1 X-Deja-AN: 400653151 Content-Transfer-Encoding: 7bit Organization: KJIST, KwangJu, KOREA Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.lang.fortran I know that Fortran "UNFORMATED" IO data types are different between Sun Sparc and, say, IBM 370 Fortran. I have been using G77 on i386 Linux machines. Now I started using Alpha Linux. I created bunch of unformatted output data files, just as I have been doing on i386 Linux machines. Alas! The graphics program called IDL (PV~Wave for that matter) cannot read the data file. I heard that the default length of integer data type is different. Would that affect the compatibility of "UNFORMATED" data type? What about the normal double precision data type? Since we have to choose different sections inside D1MACH.F, I guess the binary representations of double precision float may be different between Intel and ALpha. However, what I heard is that the internal binary representation and the external "UNFORMATED" are different again. What is actually true? Does anyone know about all of this? Or did I simply make a mistake ? Thanks a lot. -- G. Hugh Song PS: Please remove "Spamspoiler" when replying