<div><div dir="auto">I’m pretty sure you need to reinstall homebrew after an OS upgrade.</div><div dir="auto"><br></div><div dir="auto">-erik</div><br><div class="gmail_quote"><div>On Mon, Jan 29, 2018 at 16:20 Roland Haas <<a href="mailto:roland.haas@physics.gatech.edu">roland.haas@physics.gatech.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Erik,<br>
<br>
> The intrinsic _mm_add_ps should always be available. _mm_hadd_ps (different<br>
> spelling!), on the other hand, is only available if SSE3 is available.<br>
Eieiei. Sorry about the spelling. I was quite clearly missing the "h"<br>
when doing my grep for include files.<br>
<br>
With the commit in the branch I can indeed compile the vectors.h files<br>
(the ranlib issue still persists though they do no make the build<br>
fail. This may be a screwed up homebrew installation after updating<br>
to high siera).<br>
<br>
On the other hand, I wonder if we really need to use ranlib in the<br>
first place. Shouldn't "ar" already take care of creating an index (on<br>
POSIX system which are the only ones we support anyway)? Setting<br>
RANLIB=true (or "ar s" if I want to be very sure) in osx-homebrew.cfg<br>
should be fine.<br>
<br>
Yours,<br>
Roland<br>
<br>
><br>
> This should be corrected by <<br>
> <a href="https://bitbucket.org/cactuscode/cactusutils/pull-requests/14/vectors-check-for-sse3-availability/diff" rel="noreferrer" target="_blank">https://bitbucket.org/cactuscode/cactusutils/pull-requests/14/vectors-check-for-sse3-availability/diff</a><br>
> >.<br>
><br>
> -erik<br>
><br>
><br>
> On Mon, Jan 29, 2018 at 2:11 PM, Roland Haas <<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>> wrote:<br>
><br>
> > 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/lib/gcc/7/gcc/x86_64-apple-<br>
> > darwin17.3.0/7.3.0/include/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>
> ><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.30/x86_64-apple-darwin17.3.0/<br>
> > 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>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@einsteintoolkit.org" target="_blank">Users@einsteintoolkit.org</a><br>
> > <a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
> ><br>
> ><br>
><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>
</blockquote></div></div><div dir="ltr">-- <br></div><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>