<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class="">None of the packages with builtafterpetsc = 1 are explicitly linked by PETSc rules.</div><div class="">Thus, you need to add -lslepc after ${PETSC_LIB} in your makefile.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Pierre</div><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 5 Feb 2020, at 9:06 PM, Jacob Faibussowitsch <<a href="mailto:jacob.fai@gmail.com" class="">jacob.fai@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">TL;DR: </div><div class="">Undefined symbols for architecture x86_64:<br class=""> "_EPSCreate", referenced from:<br class=""> _main in tightbinding.o<br class="">ld: symbol(s) not found for architecture x86_64</div><div class=""><br class=""></div><div class="">I Installed SLEPc using PETSc with —download-slepc, then reconfigured and made. I also am (I think) correctly including the linking PETSc in the makefile, but still I get errors whenever I try to use any SLEPc functions. Included is my makefile, c program, and logs.</div><div class=""><br class=""></div><div class=""></div></div><span id="cid:AD9965DF-7E57-41A0-B107-5F3DCE2D878E@numericable.fr"><makefile></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div class=""></div></div><span id="cid:B8E90D98-7E29-4C54-8F18-9DFEBEDBB329@numericable.fr"><tightbinding.c></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div class=""></div></div><span id="cid:BBAB3F81-13C5-4A88-9440-91CB0C53D4D1@numericable.fr"><configure.log></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div class=""></div></div><span id="cid:55CAC958-A288-468C-8F12-87FE739E1B4F@numericable.fr"><make.log></span><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""></div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Best regards,<br class=""><br class="">Jacob Faibussowitsch<br class="">(Jacob Fai - booss - oh - vitch)<br class="">Cell: (312) 694-3391</div></div>
</div>
<br class=""></div></div></div></blockquote></div><br class=""></div></div></body></html>