[MITgcm-devel] linking order in genmake2
Chris Hill
cnh at mit.edu
Tue Nov 4 22:34:04 EST 2003
Patrick,
I remembered the thing I wanted to mention earlier, so before I forget
again:
When you have a chance and if you haven't already done so can you let Ed
have any genmake options and any tweaks to the timer stuff for the SX
machine.
Chris
> -----Original Message-----
> From: mitgcm-devel-bounces at mitgcm.org
> [mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Patrick Heimbach
> Sent: Tuesday, November 04, 2003 9:18 PM
> To: MITgcm-devel at mitgcm.org
> Subject: Re: [MITgcm-devel] linking order in genmake2
>
> Yes.
> I guess I confused Ed, sorry.
> Not urgent anyways, merging seems to go very well so far.
> -p.
>
> Chris Hill wrote:
> > Patrick,
> >
> > You mean linking as in soft links with "ln -s" not linking as in
> > linking and loading with "ld" - is that right?
> >
> > Chris
> >
> >>-----Original Message-----
> >>From: mitgcm-devel-bounces at mitgcm.org
> >>[mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Ed Hill
> >>Sent: Tuesday, November 04, 2003 8:36 PM
> >>To: MITgcm-devel
> >>Subject: Re: [MITgcm-devel] linking order in genmake2
> >>
> >>On Tue, 2003-11-04 at 18:56, Patrick Heimbach wrote:
> >>
> >>>Hi Ed,
> >>>
> >>>I have a question regarding the linking order in genmake2.
> >>>Is it always alpabetical?
> >>>For example, since mom_fluxform comes before mom_vecinv
> >>
> >>that seems to
> >>
> >>>work fine.
> >>>Now I have routines in pkg/ecco/ which should supersede
> routines in
> >>>pkg/cost/ I was hoping that by placing 'ecco' ahead of 'cost'
> >>>in packages.conf might do the trick, but apparently it doesn't.
> >>
> >>
> >>Hi Patrick,
> >>
> >>Off the top of my head, heres two possible approaches:
> >>
> >> 1) come up with a way to exclude the unwanted subroutines
> >> so the compiler/linker can't pick the unwanted ones, or
> >>
> >> 2) build using static libraries so that we force the linker
> >> to see certain routines first.
> >>
> >>Could you send me some more concrete examples? I'll be happy to
> >>re-work our makefile to do either of the above.
> >>
> >>Ed
> >>
> >>--
> >>Edward H. Hill III, PhD
> >>office: MIT Dept. of EAPS; Room 54-1424; 77 Massachusetts Ave.
> >> Cambridge, MA 02139-4307
> >>email: eh3 at mit.edu, ed at eh3.com
> >>URL: http://web.mit.edu/eh3/
> >>phone: 617-253-0098
> >>fax: 617-253-4464
> >>
> >
> >
> > _______________________________________________
> > MITgcm-devel mailing list
> > MITgcm-devel at mitgcm.org
> > http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
>
>
> --
> Patrick Heimbach ........................... M.I.T
> FON: +1/617/253-5259 .......... EAPS, Room 54-1518
> FAX: +1/617/253-4464 ..... 77 Massachusetts Avenue
> mailto:heimbach at mit.edu ....... Cambridge MA 02139
> http://www.mit.edu/~heimbach/ .............. U.S.A
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
>
More information about the MITgcm-devel
mailing list