On Wed, Aug 21, 2013 at 12:59 PM, John Peterson <[email protected]>wrote:

>
>
>
> On Wed, Aug 21, 2013 at 12:56 PM, John Peterson <[email protected]>
> wrote:
> >
> >
> >
> >
> > On Wed, Aug 21, 2013 at 11:42 AM, Jim Fonseca <[email protected]>
> wrote:
> >>
> >> Hi John,
> >> From make V=1
> >>
> >>
> > Thanks.
> >
> > So I guess my next question is: what does "CC" do on Cray when you try
> to use it for linking?  Does it need to be passed a '-shared' option?
> >
> > It seems like CC is trying to link "statically" and it freaks out as
> soon as it sees libmesh_opt.so.
> >
> > BTW, I didn't get a copy of the config.log, would you mind sending me
> that as well?
>
>
> Not sure it's relevant, but [0] says:
>
> "The -dynamic flag instructs the compiler wrappers (i.e., ftn, cc, CC)  to
> prepare a dynamically linked executable. "
>
> [0]:
> http://www.nersc.gov/users/computational-systems/hopper/programming/shared-and-dynamic-libraries/
>

And here's a related thread discussing the opposite situation of trying to
force static linking:

http://lists.dune-project.org/pipermail/dune/2012-November/012060.html

Looks like they solved it by passing LD='CC --static' to configure, so you
might try LD='CC --dynamic' (not sure if it needs one dash or two).

-- 
John
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to