Project

General

Profile

Bug #1975

forced dynamic linking on Cray breaks build on Beagle

Added by Jim Phillips 11 months ago. Updated 11 months ago.

Status:
Merged
Priority:
High
Assignee:
Category:
Machine Layers
Target version:
Start date:
09/06/2018
Due date:
% Done:

0%


Description

This change forces dynamic linking on Cray:

https://charm.cs.illinois.edu/gerrit/#/c/charm/+/4368/

On Beagle at U. Chicago the -dynamic flag breaks something in the PE so -lrca doesn't get included on the g++ command line.

Also, it forces dynamic linking even when os-isomalloc isn't being used, which I assume Cray has off by default for a reason.

History

#1 Updated by Sam White 11 months ago

  • Assignee set to Evan Ramos

#2 Updated by Evan Ramos 11 months ago

Is adding -lrca to the end of that CMK_LIBS line sufficient to resolve the link failure?

#3 Updated by Jim Phillips 11 months ago

The dynamic linking failure on Beagle is an old fault with a known work-around from Blue Waters and Titan.
We still probably don't want to force dynamic linking unnecessarily.

#4 Updated by Jim Phillips 11 months ago

FYI, the workaround is "setenv PE_PKGCONFIG_LIBS cray-rca:$PE_PKGCONFIG_LIBS".

#5 Updated by Evan Ramos 11 months ago

  • Status changed from New to In Progress

#6 Updated by Evan Ramos 11 months ago

  • Status changed from In Progress to Merged

Also available in: Atom PDF