I was wondering if there is a consensus on how to use modules in
the context of building a large Fortran application.
There was some previous discussion of the issues surrounding this
but some time has now passed and my search of the archives did not
reveal much of that discussion.
If I recall correctly some of the issues were:
* Avoid forced recompilation of large sections of code due to
dependencies.
* Avoid defining interfaces separately from the implementation
as this can lead to mismatch of the interface and implementation.
No doubt various approaches can help
Use nested modules
Use automatic interface generation (are there public tools to do this?)
I would be interested in any experiences relating to the above.
Harvey Richardson
Sun UK Performance Centre
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|