由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
GeoSpace版 - how to read big_endian data on a little_endian machine with gfortran. Thanks.
相关主题
how to convert from little_endian to big_endian with gfortran compiler? Thanks.绝望之时, 问问还能恢复这些照片吗? (包子或现金回报)
how to realize the conversion from little_endian to big_endian with gfortran. Thanks.OT: Anyone knows how to format text here?
how to read big_endian data on a little_endian machine with gfortran. Thanks.怎么 恢复FORMAT前的数据
请教个endnote的问题, 怎么在reference list加描述tnnd,D-Link这些猪头
一道C语言题请帮我看看,这块硬盘为什么读不出来??
昨天用u盘,突然出错"unformat, do you wan to format now"prepare to install fc11 preview
请帮我看看,这块硬盘为什么读不出来?? (转载)有没有人recover过SD card?
请帮我看看,这块硬盘为什么读不出来?? (转载)HELP!!!!!!!!!!!!!!!!!!!!!
相关话题的讨论汇总
话题: endian话题: gfortran话题: big话题: machine话题: read
进入GeoSpace版参与讨论
1 (共1页)
m*******s
发帖数: 22
1
Hello everyone,
I have some data files which were originally written with a big_endian
machine.
Now, I try to use a fortran routine to read them with the compiler of
gfortran
built in a little_endian linux system. The input line is as follows:
open(8,file='file1' // cdat,
. form='unformatted',convert='big_endian',
. status='old',access='direct',recl=im*jm*4)
Where cdat is a string, say 198101.
When I compile the routine with gfortran, the system tip is: syntax error,
convert='big_endian'. If I r
m******s
发帖数: 612
2
Compiler doesn't support this option. find another one or do the swap by
yourself, not hard. many sample code
1 (共1页)
进入GeoSpace版参与讨论
相关主题
HELP!!!!!!!!!!!!!!!!!!!!!一道C语言题
Re: a question about Word昨天用u盘,突然出错"unformat, do you wan to format now"
endnote help!请帮我看看,这块硬盘为什么读不出来?? (转载)
Fortran和C++的数据转换问题请帮我看看,这块硬盘为什么读不出来?? (转载)
how to convert from little_endian to big_endian with gfortran compiler? Thanks.绝望之时, 问问还能恢复这些照片吗? (包子或现金回报)
how to realize the conversion from little_endian to big_endian with gfortran. Thanks.OT: Anyone knows how to format text here?
how to read big_endian data on a little_endian machine with gfortran. Thanks.怎么 恢复FORMAT前的数据
请教个endnote的问题, 怎么在reference list加描述tnnd,D-Link这些猪头
相关话题的讨论汇总
话题: endian话题: gfortran话题: big话题: machine话题: read