<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 9, 2016 at 9:44 AM, Marco Zocca <span dir="ltr"><<a href="mailto:zocca.marco@gmail.com" target="_blank">zocca.marco@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I encounter this bug when accessing the PETSc and SLEPc dynamic<br>
library under OSX:<br>
<br>
user specified .o/.so/.DLL could not be loaded<br>
(dlopen($SLEPC_DIR/arch-darwin-c-debug/lib/libslepc.dylib, 5): Symbol<br>
not found: _KSPConvergedReasons<br>
  Referenced from: $SLEPC_DIR/arch-darwin-c-debug/lib/libslepc.dylib<br>
  Expected in: flat namespace<br>
 in $SLEPC_DIR/arch-darwin-c-debug/lib/libslepc.dylib)<br>
<br>
Surely, enough, `nm -u` shows _KSPConvergedReasons as an undefined<br>
symbol (see below).<br>
I don't understand the reason of this behaviour since I first compile<br>
with all the relevant PETSc and SLEPc headers and link against both<br>
.dylibs.<br>
<br>
Thank you in advance for any pointers,<br>
Marco<br>
<br>
-------<br>
$ nm -u libslepc.3.7.1.dylib | grep KSP<br></blockquote><div><br></div><div>What do you get for </div><div><br></div><div>  nm -u libpetsc.3.7.1.dylib | grep KSPConv</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
_KSPAppendOptionsPrefix<br>
_KSPConvergedReasons<br>
_KSPCreate<br>
_KSPDestroy<br>
_KSPGetConvergedReason<br>
_KSPGetIterationNumber<br>
_KSPGetOperators<br>
_KSPGetOperatorsSet<br>
_KSPGetPC<br>
_KSPGetPCSide<br>
_KSPGetTolerances<br>
_KSPGetType<br>
_KSPReset<br>
_KSPSetErrorIfNotConverged<br>
_KSPSetFromOptions<br>
_KSPSetOperators<br>
_KSPSetOptionsPrefix<br>
_KSPSetPC<br>
_KSPSetReusePreconditioner<br>
_KSPSetTolerances<br>
_KSPSetType<br>
_KSPSetUp<br>
_KSPSolve<br>
_KSPSolveTranspose<br>
_KSPView<br>
_KSP_CLASSID<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>