rprechelt / Vectorize.jl

Cross-platform vectorization of Julia code using Accelerate, VML, and Yeppp!
http://vectorizejl.readthedocs.io/en/latest/
Other
19 stars 7 forks source link

Installation problem on Ubuntu Linux #11

Open ArchRobison opened 8 years ago

ArchRobison commented 8 years ago

I was trying to install Vector.jl on a Ubuntu box with a i7-5820K processor, and got a bunch of errors. See log here for details. There's a bunch of sysctl: permission denied problems that lead up to a message:

ERROR: LoadError: LoadError: Current platform does not support AVX, AVX2 or AVX512

The i7-5820K supports AVX and AVX2. What should I try?

rprechelt commented 8 years ago

The error is because I'm using sysctl to determine whether a particular processor supports AVX/AVX2.0/AVX512 - I'm guessing that your permissions on that system don't allow for calling sysctl -a? However, I believe I have a method that bypasses using sysctl - I'll see if I can't fix it in the next 48 hours.

rprechelt commented 8 years ago

Ok - this issue should be fixed. There are no more calls to sysctl, and by loading the correct MKL library I have bypassed the need to verify processor instruction sets.

Let me know if the master works on this machine?

Thanks again for trying it out!

rprechelt commented 8 years ago

Did you get the chance to verify that this issue was fixed?