<div dir="ltr">On Mon, Aug 17, 2015 at 4:20 AM, Ian Hinder <span dir="ltr"><<a href="mailto:ian.hinder@aei.mpg.de" target="_blank">ian.hinder@aei.mpg.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><div>On 17 Aug 2015, at 08:21, Roland Haas <<a href="mailto:rhaas@aei.mpg.de" target="_blank">rhaas@aei.mpg.de</a>> wrote:</div><br><blockquote type="cite">Hello all,<br><br><blockquote type="cite">This happens a lot. It would be good to be able to put something <br>into the optionlist which told the MPI thorn that it should use an <br>auto-detected library, rather than building the library.<br></blockquote>Most thorns support a XXX_DIR=NO_BUILD option which then (depends on the<br>thorn) may require you to actually specify the location of the libraries<br>or may still allow searching for it. Basically all auto-detection (with<br>the exception of MPI which also seems to fail here) should fail on<br>modern Debian/Ubuntu systems that support "multi-arch" installations<br>since the libraries are no longer in /usr/lib but in /usr/lib/x86-amd64<br>or so. Bruno was working on fixing this before the last release but the<br>results were too fragile to be included in the current release branch.<br></blockquote><div><br></div></span><div>I know about the NO_BUILD option, but was under the impression that it doesn't do or mean what it appears to mean. I can't find any evidence of this at the moment, but I thought there were at least some thorns which would attempt to build anyway, even if you had set NO_BUILD. This would be the case if the thorn didn't know about the NO_BUILD option (external library handling is very nonuniform, with each library having to implement the same logic), but I thought it also happened for some thorns which did know about the option. I might be misremembering though.</div></div></div></blockquote><div><br></div><div>As Roland says, setting MPI_DIR = NO_BUILD should do the trick.</div><div><br></div><div>Apart from this -- yes, some thorns don't support NO_BUILD, e.g. thorns F5 or LORENE which always build from source.</div><div><br></div><div>-erik</div></div><div><br></div>-- <br><div class="gmail_signature">Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>><br><a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a></div>
</div></div>