Deutsch   English   Français   Italiano  
<vheqr5$14sm1$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups: comp.lang.fortran
Subject: Re: I am getting a strange error when compiling abcpar.f in gfortran
Date: Mon, 18 Nov 2024 01:37:09 -0600
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <vheqr5$14sm1$1@dont-email.me>
References: <vgu0rm$16rop$1@dont-email.me> <vgujmr$1dl89$1@dont-email.me>
 <lpg9ioF8j1eU1@mid.individual.net> <vgut91$1fga5$1@dont-email.me>
 <lphq4tFfkg7U1@mid.individual.net> <vh0el9$1p78j$1@dont-email.me>
 <lpi1hfFgnfcU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Nov 2024 08:37:10 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c6ab0b711f6d35569495725fb4e0f5c1";
	logging-data="1209025"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+EBC+G5lvdNj9Iktidg1Pi/1L/VceT97s="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:gYJM0+nVTgsnQk0Z7a0lrmIuotQ=
Content-Language: en-US
In-Reply-To: <lpi1hfFgnfcU1@mid.individual.net>
Bytes: 2862

On 11/12/2024 4:01 PM, baf wrote:
> On 11/12/2024 12:43 PM, Lynn McGuire wrote:
>>>>>>
>>>>> If all of your general purpose subroutines and functions are in 
>>>>> modules, you don't need interfaces for them (one of the advantages 
>>>>> of modules).
>>>>
>>>> I have 6,000 subroutines in 5,000 files.  All I did was put 
>>>> interfaces for about 2,600 of the subroutines into a single module.
>>>>
>>>> Lynn
>>>>
>>> A better alternative would be to put the subroutines in the module 
>>> and USE the module. Then you don't need the interfaces (the compiler 
>>> gets all of the interface information "automagically").
>>
>> 850,000 lines of code in a single file ?  That would be a mess.
>>
>> Lynn
>>
> I wasn't suggesting a single module. Partition the subprograms into 
> meaningful subgroups. Also, as was indicated, you can use submodules to 
> avoid cascading compilation issues with a large number of modules.

My father and two other engineer profs started developing the software 
back in 1968 on a Univac 1108.  It had 32K words of data space and 32K 
words of code space.  To build large software, we had to manually 
partition the software ourselves so that it would fit into those 32K 
words of code space.  It was a major pain when somebody would update a 
subroutine and mess up the partition map.

When I personally started working on the software in 1975, it was one of 
my jobs to update the huge partition map on the wall outside my bosses 
office.  I used the big computer sheets and taped them together, about a 
hundred or so of the sheets.

Never again.

Lynn