For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2007 > Re: Problem when creating a.out and -convert big_endian compiler









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Problem when creating a.out and -convert big_endian compiler
andy271828@gmail.com

2007-11-23, 4:27 am

On Nov 22, 7:14 am, Steve Lionel <steve.lio...@intel.com> wrote:
> On Nov 22, 2:44 am, andy271...@gmail.com wrote:
>
>
>
>
>
> It is not now and it has never been the case. There are multiple ways
> to set the convert mode in ifort, and they all have an effect. -
> convert big_endian is the same as specifying CONVERT='BIG_ENDIAN' on
> all units that are opened (explicitly or implicitly) in the source(s)
> compiled with that option. The F_UFMTENDIAN environment variable is a
> way to change the behavior when you run the program, overriding what
> was set at compile-time. There are also environment variables to set
> this behavior on a per-unit basis.
>
> Steve


I stand corrected.

I recall however, at some point early in my use of intel fortran, that
I had difficulties with this, and specifically that -convert
big_endian
was not enough to get me going. Setting the env variable was as I
recall.

Since then I have always set both, and not had problems. Perhaps my
early
problems were due to some other origin. I cannot now recall, and
certainly
am willing to take you at your word on this matter.

andy
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com