Re: Structure of large link libraries in f95
- From: Charles Russell <SPAMworFREEwor@xxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 12:45:20 -0600
Richard E Maine wrote:
Compile your code and put it in a library the same way you do now. Then
make a module with nothing but interface blocks.
They would then have to be maintained, since I am in the habit of monkeying with my code, even in the link libraries. Even if I could INCLUDE the f77 files, I would have to split out the routines that I was monkeying with into a separate smaller "unstable" module so as not to have to recompile everything after each change. Things could be automated, but I'm not a makefile guru. It took me years to get my f77 makefiles refined to the point that everything is automatic, and with modules I would have to start over. At least with gfortran and g95 available, I don't have to worry about portability of makefiles. (I assume that with their common heritage, makefiles are portable between those two, and in any case the whole compiler is portable.)
I don't like burning bridges behind me, or discarding an old and comfortable pair of shoes. From f77 I can move either to f95 or to C (via f2c). Who can tell whether the next math package that I badly want will be written in f95, C, or even f77? Arguably, f77 is still the most flexible for public domain code, simply because of the availability of f2c.
.
- Follow-Ups:
- Re: Structure of large link libraries in f95
- From: Charles Russell
- Re: Structure of large link libraries in f95
- From: Paul Van Delst
- Re: Structure of large link libraries in f95
- References:
- Structure of large link libraries in f95
- From: Charles Russell
- Re: Structure of large link libraries in f95
- From: robert . corbett
- Re: Structure of large link libraries in f95
- From: Charles Russell
- Re: Structure of large link libraries in f95
- From: Walter Spector
- Re: Structure of large link libraries in f95
- From: Charles Russell
- Re: Structure of large link libraries in f95
- From: Richard E Maine
- Structure of large link libraries in f95
- Prev by Date: Re: fortran code for 'cp' / subroutine file_copy
- Next by Date: Re: Automatic allocation of an available file unit
- Previous by thread: Re: Structure of large link libraries in f95
- Next by thread: Re: Structure of large link libraries in f95
- Index(es):