[RegCNET] sigmatop
Graziano Giuliani
ggiulian at ictp.it
Tue May 10 13:22:52 CEST 2011
On 05/10/2011 01:05 PM, Eda Aydın wrote:
>
> Dear All,
>
> I run SIGMAtoP.f , but it is giving the following error, what might be the problem? I also attached the file.
>
> domain parameters are not consistent
> il,jl,kl,iy,jx,kx 1107296256 805306368 301989888 66 48
> 18
>
> Regards,
> Eda
>
[...]
Seems a wrong endianess. V3 model output files were stored on disk in a
big-endian layout (http://en.wikipedia.org/wiki/Endianness). Linux and some
other platforms are instead natively writing data in a little endian format.
Most of the fortran compilers allows with a compilation flag to force I/O in one
of the two.
intel -> -convert big_endian -assume byterecl
gnu -> -fconvert=big-endian
pgi -> -byteswapio
Which compiler on which platform are you using and which are the compilation flags?
Ciao!
Graziano.
--
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera, 11 - I - 34151 Trieste Italy
More information about the RegCNET
mailing list