Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: Gordon Sande <g.sande@xxxxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 19:05:16 GMT
On 2006-09-27 15:55:53 -0300, glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx> said:
Steve Lionel <steve.lionel@xxxxxxxxx> wrote:
Array bounds checking is good but doesn't help if you use (*)
dimensioned arrays. Argument type mismatches can also get you into
trouble - in Intel Fortran, add the options /gen_interface and
/warn:interface to help catch these.
The suggestion was that arrays in other COMMON blocks
were overwriting the desired variable. I don't believe (*)
is allowed in COMMON arrays.
But yes, if a COMMON array were passed as a subprogram
argument it could be referenced through a (*) dimension and
not be bounds checked.
-- glen
Salford (Siverfrost) FTN95 uses a bunch of hidden arguements to
address this problem. They go to some trouble to make thier
checked and unchecked code interoperable. The level of complication
required leads to stability issues. It is great when it works
and tends to work better on the F77 subset. There is an older
FTN77 that is very solid. I am not clear on the state of
Lahey or NAG as I try to not tempt fate more than neccessary.
.
- References:
- Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: Jim Klein
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: David Flower
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: glen herrmannsfeldt
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: David Flower
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: Steve Lionel
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: glen herrmannsfeldt
- Strange Porting Problem CVF to IVF, requesting help and ideas.
- Prev by Date: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Next by Date: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Previous by thread: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Next by thread: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Index(es):
Relevant Pages
|