[MITgcm-support] MITgcm on Fedora Core 4
Ed Hill
ed at eh3.com
Fri Jun 17 19:01:09 EDT 2005
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 ',
...
2) Install the "compat-gcc-32*" version of GCC which provides the
older g77 compiler and can peacefully co-exist on FC4 with the
latest GCC v4.x. The quickest way to install it on a networked
machine is to run, as root, this command:
yum install 'compat-gcc-32*'
The good news is that most of the MITgcm verification suite works
without any problems with gcc-gfortran. Heres hoping that the GCC v4.x
compilers improve as they mature.
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