<div dir="ltr">The intrinsic _mm_add_ps should always be available. _mm_hadd_ps (different spelling!), on the other hand, is only available if SSE3 is available.<div><br></div><div>This should be corrected by <<a href="https://bitbucket.org/cactuscode/cactusutils/pull-requests/14/vectors-check-for-sse3-availability/diff">https://bitbucket.org/cactuscode/cactusutils/pull-requests/14/vectors-check-for-sse3-availability/diff</a>>.</div><div><br></div><div>-erik</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 2:11 PM, Roland Haas <span dir="ltr"><<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
ok, one question I can possibly answer: the inrinsic _mm_hadd_ps is<br>
in /usr/local/Cellar/gcc//7.3.0/<wbr>lib/gcc/7/gcc/x86_64-apple-<wbr>darwin17.3.0/7.3.0/include/<wbr>pmmintrin.h<br>
(not the "p") which is only included in x86intrin.h which<br>
vectors-4-SSE.h only includes if __FMA4__ is set.<br>
<br>
However the line bringing _mm_add_ps into the code and the include for<br>
FM4 are very old (from 2013) so should not be to blame. The layout of<br>
files and includes also seem to be identical in both gcc 7 and gcc 6.<br>
<br>
Yours,<br>
Roland<br>
<div class="HOEnZb"><div class="h5"><br>
> Hello all,<br>
><br>
> I am getting odd compile errors on OSX using osx-homebrew.cfg (in<br>
> master).<br>
><br>
> There seem to be two different errors right now:<br>
><br>
> * _mm_add_ps is not found (even though xmmintrin.h exists)<br>
> * ranlib (it uses XCode's) complains about the .a files that it claims<br>
> have no symbols. Forcing the use of ranlib from homebrew does not<br>
> show the error but then I need to hard-code the full path since<br>
> homebrew does not put ranlib in /usr/local/bin<br>
><br>
> I attach the make output (both types of errors are visible at the end).<br>
><br>
> A side node: to have remote commands work on OSX (ie remote compiling<br>
> *on* my OSX laptop not from it) only works if I add<br>
> "source /etc/profile" to my envsetup (otherwise /usr/local/bin is not<br>
> added to $PATH it seems).<br>
><br>
> Has anyone seen these types of errors before and / or could point me to<br>
> a "canonical" location for ranlib on OSX (rather<br>
> than /usr/local/Cellar/binutils/2.<wbr>30/x86_64-apple-darwin17.3.0/<wbr>bin/ranlib)?<br>
><br>
> Yours,<br>
> Roland<br>
><br>
<br>
<br>
<br>
--<br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
<a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.<wbr>org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>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><br></div></div></div>
</div>