<html>#2476: BLAS and LAPAC ExternalLibraries ignore BLAS_DIR and LAPACK_DIR
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2020_11</td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td></td></tr>
</table>

<p>Git hash <a data-is-external-link="true" href="https://github.com/einsteintoolkit/ExternalLibraries-BLAS/commits/22ffa3c02b3e886aaa34224fe4ef59e7e950ebf7" rel="nofollow">22ffa3c</a> "BLAS: use bash_utils.sh to search for library" of <a data-is-external-link="true" href="https://github.com/einsteintoolkit/ExternalLibraries-BLAS" rel="nofollow">ExternalLibraries-BLAS</a> and git hash <a data-is-external-link="true" href="https://github.com/einsteintoolkit/ExternalLibraries-LAPACK/commits/4e216f4cf9834d15f4c4b9bdb9cd46908ce9646f" rel="nofollow">4e216f4</a> "LAPACK: use bash_utils.sh to search for library" of <a data-is-external-link="true" href="https://github.com/einsteintoolkit/ExternalLibraries-LAPACK" rel="nofollow">ExternalLibraries-LAPACK</a> changed BLAS and LAPACK to use bash_utils’s <code>find_lib</code> to look for library files.</p>
<p>However in this process multiple bugs were introduced (by me). One was reported by <span class="ap-mention" data-atlassian-id="5b59c8ffe288ee2d9b4ba7ba">@Samuel Tootle</span> in <a href="https://bitbucket.org/einsteintoolkit/tickets/issues/2464/linking-errors-with-et_2020_05-with-etk" rel="nofollow" title="Linking errors with ET_2020_05 with ETK built ExternalLibraries" class="ap-connect-link"><s>#2464</s></a>, <span class="ap-mention" data-atlassian-id="557058:1671c5c3-29cc-4e83-9850-a152d33a6235">@Steven R. Brandt</span> just found another one due to using an incorrect variable name in the <code>find_lib</code> call, which went unnoticed on systems where LAPACK / BLAS are found in “standard” locations  via pkg-config, which is the majority of systems where it is used it seems.</p>
<p>Fixed in git hash <a data-is-external-link="true" href="https://github.com/einsteintoolkit/ExternalLibraries-BLAS/commits/6e55384a123a37d07896f6e674ff1ac05a16f0a1" rel="nofollow">6e55384</a> "BLAS: fix typo making BLAS_DIR being ignored" of <a data-is-external-link="true" href="https://github.com/einsteintoolkit/ExternalLibraries-BLAS" rel="nofollow">ExternalLibraries-BLAS</a> and git hash
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2476/blas-and-lapac-externallibraries-ignore'>https://bitbucket.org/einsteintoolkit/tickets/issues/2476/blas-and-lapac-externallibraries-ignore</a></p>
</html>