Module expert needed

Mikael Morin mikael.morin@sfr.fr
Thu Aug 6 12:28:00 GMT 2015


Le 06/08/2015 13:16, Paul Richard Thomas a écrit :
> On the submodule files, I have agonized about that. It would be
> possible, at the expense of more complexity, to only write the private
> entities to the .smod file. Or, I could introduce a flag
> -fno-submodules. I guess that I would go for the former.
>
I would rather not bother with either.
The .mod is the external (public) interface, and the .smod the internal 
(full) interface needed by submodules.  It's simple, albeit somewhat 
redundant.

Symbols may reference each other, through initialization, array specs 
etc.  I don't think it would be a good to pick them from two different 
places.

Mikael



More information about the Fortran mailing list