[MITgcm-support] Running MITgcm on Ubuntu.

Martin Losch Martin.Losch at awi.de
Wed Feb 2 09:56:24 EST 2011


Yes, should be possible, nowadays most compilers have a switch to convert between big and little endian, e.g. for gfortran it is -fconvert=big-endian. And for compilers that do not have that switch (e.g. g77) there a CPP-flag that you can define (DEFINES='-D_BYTESWAPIO' in the build options file).

Start from a file in tools/build_options that is closest to your system+compiler.

Martin

On Feb 2, 2011, at 3:36 PM, gede karang wrote:

> Hi all,
> 
> About runing MITgcm on Ubuntu.
> All input files of for the mitgcm are binary ieee big endian files. But I wanna try run MITgcm on Ubuntu 9.10, is it possible or not?
> 
> Gede _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list