Re: Structure of large link libraries in f95



Charles Russell wrote:
..
I asked approximately this same question about five years ago, but
perhaps less clearly, and perhaps there has been some progress in the
interim.

I think the real answer is the same as it was 5 years ago. Don't
worry about it. In the Real World, it is even less of a problem now than
it was 5 years ago. If the size of your executables really bothers you,
then learn how to use shared libraries. (BTW, I saw 250 gbyte drives
on sale for $90 at the local computer store last week...)

Besides the simple size of the executable on disk, you may wonder
about memory space while the program is running. Again, don't worry
about it. Modern virtual memory systems only 'page in' portions of
the code, as needed, so wasting a lot of time worrying about it
is again somewhat fruitless in reality.

If you really want to save space in your old F77 programs, you *should*
worry about large statically-sized data arrays - which are typically set
'as big as I'll ever need them'. Throw your F77 compiler away. Use
Fortran-90 ALLOCATABLE arrays, and never look back.

Walt
.