[Met_help] possible error in METv1.1

John Halley Gotway johnhg at rap.ucar.edu
Fri Aug 22 14:38:06 MDT 2008


Matt,

Thanks for sending that.  I don't see anything obvious.  Have you had a chance to try compiling with the -DBIGENDIAN architecture flag set?

John

J Matt Clark wrote:
> John Halley Gotway wrote:
>> Matt,
>>
>> Did you ever receive my last email about a test program?  I got a
>> weird bounce message indicating that it might not have gone through. 
>> I've copied it below.
>>
>> Also, regarding endianess.  MET was built and initially tested on
>> little endian Linux machines.  However, we were able to port it to a
>> big endian IBM machine - NCAR's supercomputers.  If your PowerPC
>> is big endian, you'll need to set some architecture flags at compile
>> time.  Take a look in the top-level "Makefile_ibm" for an example, and
>> look for the "ARCH_FLAGS" line:
>> ARCH_FLAGS   = -DIBM -DBIGENDIAN
>> You could try setting your ARCH_FLAGS to -DBIGENDIAN and recompiling.
>>
>> Here's my other message:
>>
>> Matt,
>>
>> I'd like to find out more info about your system.  In particular,
>> what's the size of a "char".  I've attached a simple test program that
>> will dump out the sizes and alignments of basic types.  Please
>> do the following:
>>
>> (1) Compile the attached test program with a C++ compiler:
>> g++ test_program.cc -o test_program
>>
>> (2) Run the test program and send the output to a file:
>> ./test_program > test.out
>>
>> (3) Send me a copy of the "test.out" file.
>>
>> I've been talking to another engineer here about this, and hopefully
>> this info will help us figure out what's going on.
>>
>> Thanks,
>> John
>>
>>   
> FIle attached.....
> 
> Thanks,
> 
> Matt
> 


More information about the Met_help mailing list