<div dir="ltr">FYI, this why <span style="font-size:12.8000001907349px">2.8.11.2 worked and </span><span style="font-size:12.8000001907349px">2.8.12.2 failed.  Nothing to do with real versions of Cmake.</span><div><br></div><div><span style="font-size:12.8000001907349px">Glad to hear 2.8.11.2 seems to do the trick! I asked around, and it sounds like we manually commented out the -rdynamic from the platform cmake file (Platform/Linux.cmake) for that version in order to get it to work on Edison.</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 5:40 PM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>FYI, this is what NERSC tells me. I tired cmake/<span style="font-size:12.8000001907349px">3.0.0 but I got an error from PETSc I think saying Metis needs v2.8.  (This should probably be fixed.)  The </span><span style="font-size:12.8000001907349px">CRAYPE_LINK_TYPE=dynamic did not seem to play nice with my configuration ('--with-shared-libraries=0') but cmake/</span><span style="font-size:12.8000001907349px">2.8.11.2 seems to be working.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Mark</span></div><div><br></div><div><div style="font-size:12.8000001907349px">Thanks for the additional details - indeed, it is the -rdynamic flag being used in the config tests that is causing problems. One way to to get around that is setting CRAYPE_LINK_TYPE to dynamic (that way -rdynamic won't fail), and the other is to use 2.8.11.2 (not 2.8.12.2 or 3.0.0) which does not add -rdynamic on the link line when building config tests. Would either of these workaround be ok for your use case?</div><div style="font-size:12.8000001907349px"> </div><div style="font-size:12.8000001907349px">Many thanks,</div><div style="font-size:12.8000001907349px">Scott French</div><div style="font-size:12.8000001907349px">NERSC User Services</div></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 8, 2015 at 1:37 PM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Damn, this was working a  week ago.  I've tried many things and am now just doing a 'make config' in metis and see this <span style="font-size:12.8000001907349px">-rdynamic thing.  I will ask NERSC.</span><div><span style="font-size:12.8000001907349px">Thanks,</span></div><div><span style="font-size:12.8000001907349px">Mark</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 8, 2015 at 10:34 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Sat, 7 Feb 2015, Mark Adams wrote:<br>
<br>
> I am getting errors again with metis.  This has come up on Hopper but this<br>
> looks different.<br>
> Mark<br>
><br>
<br>
>>>>>>>>>>>><br>
</div></div>-- Check for working C compiler: /opt/cray/craype/2.2.1/bin/cc -- broken<br>
<br>
<br>
  /opt/cray/craype/2.2.1/bin/cc -fast -no-ipo<br>
  CMakeFiles/cmTryCompileExec1628815744.dir/testCCompiler.c.o -o<br>
  cmTryCompileExec1628815744 -rdynamic<br>
<br>
  /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in<br>
  `/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libc.a(strcmp.o)'<br>
  can not be used when making an executable; recompile with -fPIE and relink<br>
  with -pie<br>
<br>
<<<<<<<<<<<<<br>
<br>
I have no idea why cmake is using -rdynamic here. [or how to tell it not to do that..]<br>
<span><font color="#888888"><br>
Satish<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>