Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

read real*8 binary

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97337] read real*8 binary
  • From: Jan Schmedes <jasch at crustal.ucsb.edu>
  • Date: Wed, 11 Mar 2009 04:23:46 -0500 (EST)

Dear group,

I have a fortran program which writes a real array into a binary file.  
This binary file I could read without problems using  
Import["..."."Real32"]; But when I changed real to real*8 in the  
fortran program I could not read the file anymore (I used "Real64"  
instead of  "Real32"), meaning I get numbers like 10^275. I used the  
same fortran compiler (ifort 10) and the same computer (Mac Pro) in  
both computations.
Anyone has an idea why this does not work???

Thank you!

Jan


  • Prev by Date: Re: L-shaped ListContourPlot
  • Next by Date: Re: The "Go Back" Button doesn't work
  • Previous by thread: Re: reversing axes orientation
  • Next by thread: Re: read real*8 binary