<div dir="ltr">Hi,<div><br></div><div>Here you have a more updated version of the script. This one supports up to AVX2, although it will not tell you exactly the CPU version it is compatible with.</div><div><br></div><div><a href="https://github.com/wpoely86/scripts/blob/master/analyze-x86">https://github.com/wpoely86/scripts/blob/master/analyze-x86</a><br></div><div><br></div><div>Regards,</div><div>Carlos</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 7:06 AM, Carsten Aulbert <span dir="ltr"><<a href="mailto:Carsten.Aulbert@aei.mpg.de" target="_blank">Carsten.Aulbert@aei.mpg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<span class=""><br>
On 05.05.2016 22:51, Paul McIntosh wrote:<br>
<br>
> We have /usr/local mounted across nodes with some Intel Xeon X5650<br>
> (Westmere) and some E5-2670 (SandyBridge). Some code spits out "Illegal<br>
> Instruction" when run on the old nodes and it appears to be due to hitting<br>
> shared libraries compiled on the newer nodes. We are going to have a similar<br>
> situation on the newer clusters also.<br>
><br>
<br>
</span>some years ago I accidentally found this here<br>
<br>
<a href="https://github.com/rozcietrzewiacz/home/blob/master/scripts/analyse-x86.sh" rel="noreferrer" target="_blank">https://github.com/rozcietrzewiacz/home/blob/master/scripts/analyse-x86.sh</a><br>
<br>
which "simply" wades through all instructions and spits out for which<br>
target platform the binary is ok.<br>
<br>
Given that this is 4yrs old and I had to apply a small fix about<br>
variable naming (I think/attached) it will most certainly not find all<br>
edge cases, but may already help to get started.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"><br>
Carsten<br>
</font></span><br>_______________________________________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" rel="noreferrer" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">--<br>Carles Fenoy<br></div>
</div>