Re: NCAR Graphics, Mac OS 10.4 and XLF

From: Dave Kennison (kennison AT ucar.edu)
Date: Wed May 04 2005 - 14:15:30 MDT


Dan,

What we have done for many years is to declare EXTERNAL the names of
the BLOCK DATA routines that initialize the variables in the labeled
common blocks we're using, causing them to be loaded from whatever
library they have been placed in and thus performing the desired
initializations. It is this technique that does not work with this
particular compiler/loader combination.

You seem to be saying that you have declared EXTERNAL the names of
the common blocks themselves. Is that right?

Dave

On Wed, 4 May 2005, Daniel Packman wrote:

>
> On May 4, 2005, at 11:53 AM, Mary Haley wrote:
>
>> ...I also use xlf on our IBM/AIX systems, and do not have the problem
>> with common block data initialization. NCAR Graphics and NCL
>> both compile just fine under this configuration.
>
> Common block data initialization has been an issue for some
> years. We have managed to get around this problem for many
> compilers by only using named common blocks and specifying
> those names as external. Or is this problem somehow different?
_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Wed May 04 2005 - 21:37:51 MDT