Many thanks for everyone's help with this. It is resolved now and your
suggestions sent me down the right path.

>From Blue Waters support:
Static linking is and has been the default on BW when compiling
applications for the CPUs. For the GPUs, when you load the cudatoolkit
module, it sets XTPE_LINK_TYPE to dynamic, which changes the default
linking behavior.

I was trying a new build and not loading that particular module, and so the
default linking was therefore static.

Thanks again,
Jim


On Wed, Aug 21, 2013 at 2:24 PM, Jim Fonseca <[email protected]> wrote:

> Hi John,
> Here is the config.log. Many thanks for the suggestions--I will look into
> those.
> Thanks,
> Jim
>
>
> On Wed, Aug 21, 2013 at 2:03 PM, John Peterson <[email protected]>wrote:
>
>>
>>
>> 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
>>
>
>
>
> --
> Jim Fonseca, PhD
> Research Scientist
> Network for Computational Nanotechnology
> Purdue University
> 765-496-6495
> www.jimfonseca.com
>
>
>


-- 
Jim Fonseca, PhD
Research Scientist
Network for Computational Nanotechnology
Purdue University
765-496-6495
www.jimfonseca.com
------------------------------------------------------------------------------
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