Re: Structure of large link libraries in f95
- From: Charles Russell <SPAMworFREEwor@xxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 14:03:16 -0600
Walter Spector wrote:
How big is your math library?
My user/local/lib currently contains 7.7 Mb, including about a dozen libraries. I would not use all at once, but might use half. I invoke libraries via the makefile LDLIBS macro, so that the selected libraries become available for all programs in a given project (corresponding to a single directory). The core library that incorporates my default programming environment is currently 1.2 Mb. My typical executable is less than 400 kb, though I have one project that consumes 700 Mb.
And is it possible that you'd want some of your routines in different
modules than others? No one says you need (or should) use one 'ginormous'
module.
They are already organized in libraries in a way that is convenient for me. And I might use just the finite-difference gradient routine from MINPACK, just the QR factorization from LLSQ, so that the rest would be dead code.
Shared libs are neat for a variety of reasons. You may see *better* link
times. (Less disk I/O, less relocating.)
OK, something to look at. Some years ago I ran a few examples of .so files from the Sun unix manual, and it was not much trouble. I don't know what I might encounter using cygwin on Windows. So far, cygwin has kept me from having to learn anything about Windows.
ALLOCATABLEs are also safe and easy.
Seems I heard of some potential problem with ALLOCATABLEs, but I can't remember what. Was it a problem with bounds check?
.
- Follow-Ups:
- Re: Structure of large link libraries in f95
- From: Joe Krahn
- 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: Walter Spector
- Structure of large link libraries in f95
- Prev by Date: Re: C versus FORTRAN90
- Next by Date: Re: status of quadruple precision arithmetic in g95 and gfortran?
- 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
|
|