[MITgcm-devel] fortran namelist syntax & gfortran
Ed Hill
ed at eh3.com
Mon Nov 28 07:43:30 EST 2005
On Mon, 2005-11-28 at 12:01 +0100, Martin Losch wrote:
> Hi Ed,
> it looks like your modifications in the namelists break my runs on the
> XD1, have a look at the latest results, two (of the eight basic_verif)
> experiments, aim.5l_cs/tr_run.thSI and dic_example, are failing because
> they don't get past the name list data.diagnostics:
>
> > PGFIO-F-248/namelist read/unit=11/illegal subscript or substring
> > specification.
> > File name = /tmp/3339.1.am.xd1-420-2/FTNkaaaaCfiar formatted,
> > sequential acces
> > s record = 4
> > In source file diagnostics_readparms.f, at line number 1862
>
> I use
> > xd1-420-6::mlosch> pgf77 -V
> >
> > pgf77 5.2-4
> > Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
> > Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
>
> So there is at least one fortran 77 compiler that doesn't like the F95
> syntax. I can't think of anything else that should cause this problem.
> And I can see that a lot of experiments are failing with other versions
> of pgf77, apparently for the same reason:
> faulks linux_ia32_pgf77+authors_fc3 forward 20051128 summary.txt 38:55
> cg01 linux_ia32_pgf77+mpi_cg01 forward 20051127 summary.txt 29:40
> irda-pgf77 linux_ia32_pgf77+mpi_itrda forward 20051127 summary.txt
> 31:40
> (I didn't have a close look, but the problem appears to the same: name
> list read of data.diagnostics)
Hi Martin,
Thank you for pointing this out. I'll look into it this week and try to
find out if there are any options that will allow the PGI compiler to
accept this syntax. And if not I will revert whatever changes I made
that break the PGI input.
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-devel
mailing list