help on byte swap with gnu fortran

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Feb 2 16:08:00 GMT 2007


On Fri, Feb 02, 2007 at 05:50:08PM +0200, Vasso Kotroni wrote:
> Dear all
>  i have a fortran code that works with vis5d and compiles with gnu fortran
>  My problem is that i want to read in binary files that have been
> byteswapped
>  in pgfortran there is an option -byteswapio to do that
>  What about gnu fortran?
>  Do you have an idea on how to overcome this problem?
> 

According to the manual, you can use -fconvert option.
See the documentation for details.

-- 
Steve



More information about the Fortran mailing list