由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Software版 - how to realize the conversion from little_endian to big_endian with gfortran. Thanks.
相关主题
what kind of language this is and how to change it? (转载)一道C语言题
Re: 有什么东东能把800M的文件分成600M和200M,想刻盘昨天用u盘,突然出错"unformat, do you wan to format now"
Re: 如 何比较文件内 容是否相同?请帮我看看,这块硬盘为什么读不出来?? (转载)
ftp 问题请帮我看看,这块硬盘为什么读不出来?? (转载)
how to convert from little_endian to big_endian with gfortran compiler? Thanks.绝望之时, 问问还能恢复这些照片吗? (包子或现金回报)
how to read big_endian data on a little_endian machine 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话题: little话题: conversion
进入Software版参与讨论
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,
co
1 (共1页)
进入Software版参与讨论
相关主题
tnnd,D-Link这些猪头how to convert from little_endian to big_endian with gfortran compiler? Thanks.
请帮我看看,这块硬盘为什么读不出来??how to read big_endian data on a little_endian machine with gfortran. Thanks.
prepare to install fc11 previewhow to read big_endian data on a little_endian machine with gfortran. Thanks.
有没有人recover过SD card?请教个endnote的问题, 怎么在reference list加描述
what kind of language this is and how to change it? (转载)一道C语言题
Re: 有什么东东能把800M的文件分成600M和200M,想刻盘昨天用u盘,突然出错"unformat, do you wan to format now"
Re: 如 何比较文件内 容是否相同?请帮我看看,这块硬盘为什么读不出来?? (转载)
ftp 问题请帮我看看,这块硬盘为什么读不出来?? (转载)
相关话题的讨论汇总
话题: endian话题: gfortran话题: big话题: little话题: conversion