<html>#2428: Possible issue between ExternalLibraries/FFTW3 thorn and the Cactus/lib/sbin/strip-incdirs.sh script
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Federico Cipolletta</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></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>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Hello <span class="ap-mention" data-atlassian-id="5adf15aff8e21e24e0f873af">@Federico Cipolletta</span> ,</p>
<p>last question first: yes you are welcome to directly push documentation, no review required.</p>
<p>The note may require some clarification though:</p>
<ul>
<li>the tarball in “dist” is only used if either <code>THORN_DIR</code> is set to <code>BUILD</code> or is left empty and no precompiled copy of the library (any version, for the most part anyway) is found. Ie the FFTW thorn, while it includes 3.3.3 tarball, will accept any installed version (both newer and older)</li>
<li>the directories are stripped from <code>THORN_INC_DIRS</code> which default to <code>THORN_DIR/include</code></li>
<li>
<p>the same stripping happens to <code>THORN_LIB_DIRS</code> in <code>lib/sbin/strip-libdirs.sh</code> which a larger list of directories:</p>
<ol>
<li>/lib</li>
<li>/usr/lib</li>
<li>/usr/local/lib</li>
<li>/lib64</li>
<li>/usr/lib64</li>
<li>/usr/local/lib64</li>
</ol>
</li>
</ul>
<p>You may want to add that “since the compiler is assumed to search them automatically at the end of all explicitly passed locations. This avoids picking up other libraries installed in these system locations.”.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2428/possible-issue-between-externallibraries'>https://bitbucket.org/einsteintoolkit/tickets/issues/2428/possible-issue-between-externallibraries</a></p>
</html>