Re: Strings in Cray namelists?
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Fri, 27 Mar 2009 09:09:07 -0700
Steve Lionel <steve.lionel@xxxxxxxxxxxxx> wrote:
Bil Kleb wrote:
reveal that only Portland, PathScale, and NAG are standards compliant:
Adopting an extension is not a violation of the standard. I don't think
you can accuse a compiler of being non-compliant because it actually
works on a program. There are cases where at least a diagnostic
capability is required, but this isn't one of them.
No, your test simply reveals that the compilers you use do not support
the Fortran 2003 feature of reading undelimited character strings from
NAMELIST input, as long as they do not contain embedded delimiters.
That PGI and Pathscale have this issue does not astonish me, but that
you see it with NAG does.
Are you sure that this f2003 feature applies to namelist? I know about
it for list-directed I/O. At a (very) quick glance, I didn't see it for
namelist. I might well have missed it, but I also wouldn't take for
granted that just because it applies to lisy-directed, that
automatically also means namelist. The two have many similarities, but
namelist does have a few extra issues that one might see as complicating
it.
I don't use namelist any more myself, so I tend to have to read this
stuff pretty carefully. Oddly, I stopped using namelist just a little
before it became standardized. That was because around then I started
using a library of routines that allowed simillarly human-readable
input, but with much more flexibility of form.
--
Richard Maine
email: last name at domain . net
domain: summer-triangle
.
- Follow-Ups:
- Re: Strings in Cray namelists?
- From: Steve Lionel
- Re: Strings in Cray namelists?
- From: Bil Kleb
- Re: Strings in Cray namelists?
- From: Bil Kleb
- Re: Strings in Cray namelists?
- References:
- Strings in Cray namelists?
- From: Bil Kleb
- Re: Strings in Cray namelists?
- From: Richard Maine
- Re: Strings in Cray namelists?
- From: Bil Kleb
- Re: Strings in Cray namelists?
- From: Steve Lionel
- Re: Strings in Cray namelists?
- From: Bil Kleb
- Re: Strings in Cray namelists?
- From: Steve Lionel
- Strings in Cray namelists?
- Prev by Date: Re: Strings in Cray namelists?
- Next by Date: Re: calling a function that returns a c_char from python
- Previous by thread: Re: Strings in Cray namelists?
- Next by thread: Re: Strings in Cray namelists?
- Index(es):
Relevant Pages
|