gfortran output file compatibility between intel and PPC

Stefanos Folias sf@math.bu.edu
Tue Dec 12 15:32:00 GMT 2006


so i ran into a snag recently ...

ordinarily i am running my fortran code on gfortran on a power-pc  
based mac.  i have access and installed gfortran on a new mac pro  
which uses the core duo intel chip.  i am writing unformatted output,  
and while on its respective computers, the output can be read without  
problems, transferring files between the two yields major  
discrepancies.  i just have access to running code on the intel-based  
mac, hence i need the output file generated there to be read by the  
power-pc based mac. i believe this is an issue with byte order, and i  
am wondering if it's possible to make the transfer AND if someone  
would educate me, perhaps, on how to do so.

thanks,

stefanos



More information about the Fortran mailing list