Re: compilation cascades and new Fortran features
- From: robert.corbett@xxxxxxx
- Date: 29 Sep 2005 23:56:15 -0700
It is not just a matter of doing something incorrect. A user
might, for example, want to update a comment in the file
containing the specification part of a module.
Also, some existing Fortran 95 compilers inline references
to small module procedures. People using such
implementations might not want to pay the performance
hit for moving those module procedures into separate
implementation files.
I agree that programmers can help themselves a lot by
assigning modules to files in an orgainized way. In
almost all cases, each module should be in a separate
source file. There should be no other code in the file.
The basename of the source file should be the same as
the basename of the generated .mod file.
Bob Corbett
.
- Follow-Ups:
- Re: compilation cascades and new Fortran features
- From: Richard E Maine
- Re: compilation cascades and new Fortran features
- References:
- compilation cascades and new Fortran features
- From: Pierre Hugonnet
- Re: compilation cascades and new Fortran features
- From: robert . corbett
- Re: compilation cascades and new Fortran features
- From: Richard Maine
- compilation cascades and new Fortran features
- Prev by Date: Re: Intel Fortran license?
- Next by Date: Re: Malloc in PGI Fortran 90
- Previous by thread: Re: compilation cascades and new Fortran features
- Next by thread: Re: compilation cascades and new Fortran features
- Index(es):
Relevant Pages
|
|