# LoopVectorization fails to install on AMD 8350

**URL:** <https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342>\
**Category:** New to Julia\
**Created:** [January 14, 2020, 1:10pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342 "2020-01-14T13:10:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lesshaste](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lesshaste/32/12302_2.png) [@lesshaste](https://discourse.julialang.org/u/lesshaste)\
**Post date:** [January 14, 2020, 1:10pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342/1 "2020-01-14T13:10:17Z")

</div>

I am 100% new to Julia but wanted to try out LoopVectorization. I installed Julia 1.3.1 and did .Pkg.add(“LoopVectorization”). It failed with:

> [8dfed614] + Test  
> Building VectorizationBase → `~/.julia/packages/VectorizationBase/cKn6V/deps/build.log`  
> ┌ Error: Error building `VectorizationBase`:  
> │ ERROR: LoadError: “Architecture not yet supported. Please file an issue!\nYou can fix immediately by supplying the correct number of cores\nand the cache sizes (L1 data per core, L2 per core, L3).\nIf you do, please file an issue with the information or a PR\nadding it to the build script, so your architecture will be\nsupported for all future releases.”  
> │ Stacktrace:  
> │ [1] top-level scope at /home/raph/.julia/packages/VectorizationBase/cKn6V/deps/build.jl:15  
> │ [2] include at ./boot.jl:328 [inlined]  
> │ [3] include\_relative(::Module, ::String) at ./loading.jl:1105  
> │ [4] include(::Module, ::String) at ./Base.jl:31  
> │ [5] include(::String) at ./client.jl:424  
> │ [6] top-level scope at none:5  
> │ in expression starting at /home/user/.julia/packages/VectorizationBase/cKn6V/deps/build.jl:7  
> └ @ Pkg.Operations /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/backwards\_compatible\_isolation.jl:649

My CPU is an AMD 8350 and I am running Ubuntu 16.04.

What should I do?

---

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [January 14, 2020, 1:36pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342/2 "2020-01-14T13:36:44Z")

</div>

You should probably open an issue in [VectorizationBase](https://github.com/chriselrod/VectorizationBase.jl) to add support for AMD FX processors. If you feel comfortable enough and know a bit about the number of cores and cache sizes of the FX series, you could also try adding it as another special case in [this script](https://github.com/chriselrod/VectorizationBase.jl/blob/master/deps/build.jl#L10) yourself and make a PR, I’m sure this would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![lesshaste](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lesshaste/32/12302_2.png) [@lesshaste](https://discourse.julialang.org/u/lesshaste)\
**Post date:** [January 14, 2020, 1:38pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342/3 "2020-01-14T13:38:37Z")

</div>

Oh I just opened one here: [https://github.com/chriselrod/LoopVectorization.jl/issues/20](https://github.com/chriselrod/LoopVectorization.jl/issues/20) . Is that the wrong place?

---

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [January 14, 2020, 1:42pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342/4 "2020-01-14T13:42:10Z")

</div>

The change will have to be made in VectorizationBase, but as they’re both maintained by @Elrod, he could just transfer it, so I’m sure that’s fine too.

---

<div class="post-metadata">

**Author:** ![lesshaste](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lesshaste/32/12302_2.png) [@lesshaste](https://discourse.julialang.org/u/lesshaste)\
**Post date:** [January 14, 2020, 1:42pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342/5 "2020-01-14T13:42:50Z")

</div>

Thanks very much!

---

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [January 14, 2020, 4:13pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342/6 "2020-01-14T16:13:15Z")

</div>

I had a very old build script that didn’t reflect the fact that [CpuId.jl](https://github.com/m-j-w/CpuId.jl) has been supporting AMD since [July 2018](https://github.com/m-j-w/CpuId.jl/commit/2ac67b055a46d4c3576506351b824cbd850956ed). I have updated and released VectorizationBase v0.1.8.
