[MITgcm-support] MITgcm on Fedora Core 4

Ed Hill ed at eh3.com
Mon Oct 24 14:54:16 EDT 2005


On Fri, 2005-06-17 at 19:01 -0400, Ed Hill wrote:
> Hi folks,
> 
> I've been testing the latest gcc-gfortran as shipped with Fedora Core 4
> and just updated the optfile:
> 
>   MITgcm/tools/build_options/linux_ia32_gfortran
> 
> to fix most of the namelist problems.  One issue remains which is the
> apparent inability of gfortran to handle some namelist syntax such as:
> 
>   fields(1,1) = 'UVELSLT ','VVELSLT ','WVELSLT ',
> 
> where the indexing over the innermost dimension is implied.
> 
> So, if you upgrade to Fedora Core 4, there are at least two ways to work
> around this issue:
> 
>   1) Expand the syntax of your namelist file so that the indexing 
>      is explicit such as:
> 
>        fields(1,1) = 'UVELSLT ',
>        fields(2,1) = 'VVELSLT ',
>        fields(3,1) = 'WVELSLT ',
>        ...

Hi folks,

The above namelist bug still exists in gfortran (both GCC v4.0.2 and GCC
cvs as of last week):

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24459

and lets hope that it gets fixed in a future version.  I'm sending this
email so we have a reference when/if someone encounters it again.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the MITgcm-support mailing list