From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,36cb37ca074b2135 X-Google-Attributes: gidfee84,public From: lmp@xncse1.orfs.ornl.gov (Petrie L M) Subject: Re: Reading sun binaries on DEC-Alpha f77? Date: 1998/08/20 Message-ID: <6rho3g$7c3$1@sws1.ctd.ornl.gov>#1/1 X-Deja-AN: 383063158 References: Organization: Oak Ridge National Laboratory Reply-To: lmp@ornl.gov (Lester Petrie) Newsgroups: comp.unix.osf.osf1 According to Joerg Lippmann : --> -->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