Re: I am getting a strange error when compiling abcpar.f in gfortran

Liste des GroupesRevenir à cl fortran 
Sujet : Re: I am getting a strange error when compiling abcpar.f in gfortran
De : baf (at) *nospam* nowhere.com (baf)
Groupes : comp.lang.fortran
Date : 12. Nov 2024, 23:01:21
Autres entêtes
Message-ID : <lpi1hfFgnfcU1@mid.individual.net>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
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.

Date Sujet#  Auteur
12 Nov 24 * I am getting a strange error when compiling abcpar.f in gfortran12Lynn McGuire
12 Nov 24 `* Re: I am getting a strange error when compiling abcpar.f in gfortran11Lynn McGuire
12 Nov 24  +- Re: I am getting a strange error when compiling abcpar.f in gfortran1Lynn McGuire
12 Nov 24  `* Re: I am getting a strange error when compiling abcpar.f in gfortran9baf
12 Nov 24   `* Re: I am getting a strange error when compiling abcpar.f in gfortran8Lynn McGuire
12 Nov 24    `* Re: I am getting a strange error when compiling abcpar.f in gfortran7baf
12 Nov 24     `* Re: I am getting a strange error when compiling abcpar.f in gfortran6Lynn McGuire
13 Nov 24      `* Re: I am getting a strange error when compiling abcpar.f in gfortran5baf
18 Nov 24       `* Re: I am getting a strange error when compiling abcpar.f in gfortran4Lynn McGuire
18 Nov 24        `* Re: I am getting a strange error when compiling abcpar.f in gfortran3R Daneel Olivaw
18 Nov 24         `* Re: I am getting a strange error when compiling abcpar.f in gfortran2Lynn McGuire
18 Nov 24          `- Re: I am getting a strange error when compiling abcpar.f in gfortran1R Daneel Olivaw

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal