<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Actually, one more thing as well. What
does "ld --version" show on up05?<br>
<br>
thanks,<br>
-Phil<br>
<br>
On 02/27/2018 10:18 AM, Phil Carns wrote:<br>
</div>
<blockquote type="cite"
cite="mid:937a9063-f396-52ff-a9bd-5d9bb6b16ca4@mcs.anl.gov">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="moz-cite-prefix">On 02/27/2018 12:34 AM, Bilel Hadri
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1D53715E-3FB5-4437-A12B-D96C70E23C1A@kaust.edu.sa">
<p class="MsoNormal">Hi Phil,<o:p></o:p><o:p></o:p><o:p> </o:p>
</p>
<p class="MsoNormal">Sure, test_scalapack.f90 call ScaLAPACK
routines and uses inside MPI library. The output of the
failing ftn command with the craype-verbose flag</p>
</blockquote>
<p><br>
</p>
<p>Thanks Bilel. The petsc example helps too. This clarifies
that the trigger on Cray up05 is to compile a program that
doesn't directly use MPI symbols on its own but instead links
in another library that indirectly uses MPI symbols on its
behalf.</p>
<p>This isn't an unusual use case (scalapack and petsc have done
this forever), and the linker options in Darshan are set up to
handle it, but something has obviously changed in the linker in
this respect in this update.</p>
<p>We are still trying to work out how to reproduce this but it
may be a little bit. In the mean time would you be willing to
try something in your 3.1.5 install to help debug? <br>
</p>
<p>Can you manually edit
/sw/xc40cle6/darshan/3.1.5/sles12.3_gcc7.2.0/share/ld-opts/darshan-base-ld-opts
and add this line to the top of the file, then try again to
compile your examples with 3.1.5 loaded?</p>
<p>--undefined=__wrap_MPI_Init</p>
<p>By my (admittedly slightly murky) interpretation of the link
order and the flags that we are setting, that shouldn't be
necessary, but it would be helpful to see what it does for your
example.<br>
</p>
<p>thanks,</p>
<p>-Phil<br>
</p>
</blockquote>
<p><br>
</p>
</body>
</html>