Re: passing variables.... crazy error?
- From: Richard Edgar <rge21@xxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 09:04:56 -0500
Arjen Markus wrote:
Also, almost all FORTRAN 77 programs are accepted by Fortran 90/95
compilers as well.
I'd say that in general, you can make an even stronger statement than
that: these days, the 'f77' command is usually just aliased to 'f90'
(substitute compiler names as appropriate). There might be some extra
options added, to cope with assumptions F77 programs often make but
which are in no standard (e.g. the Sun compiler does this).
Of course, this isn't always true, and in particular, might not be true
on the OP's particular system. I would agree with the general sentiment
that unless there is no f90 compiler available, any F90 features should
be used when appropriate (IMPLICIT NONE being the F90 feature which
would have caught this particular problem, as others have pointed out).
I certainly do this sort of thing when modifying older codes - I'll
stick to the source form, but sprinkle in F90 features as appropriate.
Richard
.
- References:
- passing variables.... crazy error?
- From: Dave
- Re: passing variables.... crazy error?
- From: Thomas Koenig
- Re: passing variables.... crazy error?
- From: Dave
- Re: passing variables.... crazy error?
- From: Jim
- Re: passing variables.... crazy error?
- From: Arjen Markus
- passing variables.... crazy error?
- Prev by Date: Re: Hollerith constants on a little endian machine
- Next by Date: Re: Multithreading on Multicore Processors
- Previous by thread: Re: passing variables.... crazy error?
- Next by thread: Re: passing variables.... crazy error?
- Index(es):
Relevant Pages
|
|