Re: Structure of large link libraries in f95
- From: Charles Russell <SPAMworFREEwor@xxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 13:56:06 -0600
Paul Van Delst wrote:
Charles Russell wrote:
Why would you have to recompile everything? Can't you just recompile the routines you're "monkeying with" and replace them in your library(ies)?
I think you have to recompile a whole module if you change any component
of it. Since my "user interface" is to edit the source, I want fast turnaround.
But, if you changed the interface you would have to change the corresponding interface block in your "interface block module(s)".
But why do you want to cast your existing, working libraries, in fortran95 anyway? I use the f77 blas/lapack (and others) libraries in my f95 code and when I use various routines from them, I declare them EXTERNAL and link in the required library -- which was compiled once and pretty much forgotten about
But then you get no type checking. That is OK if you can fall back on ftnchek to find your mistakes, but ftnchek won't work with f95 code. I make lots of mistakes and rely on a highly protected programming environment to find them quickly. Some people, I have been told, get things right the first time.
Old and comfortable do not necessarily translate into good for your feet. :o)
The risk of blisters with new shoes is hard to predict.
It sounds like you've got everything working the way you want it, with a system set up for quick and easy modification. Why even bother with f95 constructs with your existing library setup? "If it ain't broke...." type of thing.
When the rest of my department switched from fortran to C around 1990, I
figured I'd better prepare a bridge to C. When Lahey later dropped support for its fine f77 compiler, I figured I'd better prepare a bridge to f90. So far I haven't had to cross either bridge, but I still consider it prudent to reconnoitre the route and get some idea of what lies on the other side of the bridge.
.
- Follow-Ups:
- 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
- Re: Structure of large link libraries in f95
- From: Charles Russell
- Re: Structure of large link libraries in f95
- From: Paul Van Delst
- Structure of large link libraries in f95
- Prev by Date: Re: Structure of large link libraries in f95
- Next by Date: Re: Structure of large link libraries in f95
- Previous by thread: Re: Structure of large link libraries in f95
- Next by thread: Re: Structure of large link libraries in f95
- Index(es):
Relevant Pages
|