# Arpack build fails on JuliaPro 1.0.1.1 under Windows

**URL:** https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524
**Category:** Tooling
**Tags:** juliapro
**Created:** [October 19, 2018, 10:09am UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524 "2018-10-19T10:09:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Pier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pier/32/7335_2.png) [@Pier](https://discourse.julialang.org/u/Pier)
#### Post date: [October 19, 2018, 10:09am UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/1 "2018-10-19T10:09:18Z")

</div>

when trying to do:

> using Arpack

I get

> [Info: Precompiling Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97]  
> ERROR: LoadError: No deps.jl file could be found. Please try running Pkg.build(“Arpack”). …

so I try

> Pkg.build(“Arpack”)

and I get

> Building Arpack → `C:\Users\alotpie89508\AppData\Local\JuliaPro1011\pkgs-1.0.1.1\packages\Arpack\U iiMc\deps\build.log`  
> ┌ Error: Error building `Arpack` :  
> │ ERROR: LoadError: UndefVarError: CompilerABI not defined  
> │ Stacktrace:  
> │ [1] top-level scope at none:0  
> │ [2] include at .\boot.jl:317 [inlined]  
> │ [3] include\_relative(::Module, ::String) at .\loading.jl:1041  
> │ [4] include(::Module, ::String) at .\sysimg.jl:29  
> │ [5] include(::String) at .\client.jl:388  
> │ [6] top-level scope at none:0  
> │ in expression starting at C:\Users\alotpie89508\AppData\Local\JuliaPro1011\pkgs-1.0.1.1\packages\A  
> rpack\UiiMc\deps\build.jl:14  
> └ @ Pkg.Operations C:\Users\julia\AppData\Local\Julia-1.0.1\share\julia\stdlib\v1.0\Pkg\src\Operatio  
> ns.jl:1101

Any ideas?  
Thanks in advance,  
Pier

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [October 19, 2018, 12:56pm UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/2 "2018-10-19T12:56:34Z")

</div>

I have two thoughts. I see in the path: "\Arpack\U iiMc" and then later in the error message, "\A  
rpack\UiiMc" without space.

Paths/directory/file names with spaces weren’t even supported on Windows in the past and while it is now, I’m not sure always well supported (if that’s the case, you can maybe get rid of it as a workaround, but this may be an issue to report for Arpack and/or its dependency BuildProvider, that possibly needs to handle such). Possibly neither on Unix/Linux (e.g. in bash) or at least you may need to be careful.

I’m not sure where this “U iiMc” comes from, it has no meaning to me (nor did I locate it in Arpack.jl or related source code).

I just see that the package itself has a two months old “fix for Julia 1.0” and has an ok build (for Linux, but is it for sure tested on Windows?): [Travis CI - Test and Deploy with Confidence](https://travis-ci.org/JuliaLinearAlgebra/Arpack.jl/jobs/442549381)

It should work in Julia 1.0.1 also, and what works in Julia should work in the similar JuliaPro. You could try Julia 1.0.1 (or 1.0), but as I said I don’t think it should be needed as I think this may be the space and/or Windows issue.

Even with you using JuliaPro, you may want to report stuff in non-JuliaPro Discourse (at least uless you’re sure it’s JuliaPro-specific error). I see some other threads there (one on other on install error with MKL, and some threads elsewhere on the web):

> [@ARPACK (IterativeEigensolvers) removed from Julia](https://discourse.julialang.org/t/arpack-iterativeeigensolvers-removed-from-julia/11797):
>
> So it seems that ARPACK (briefly known as IterativeEigensolvers) has been [removed from julia](https://github.com/JuliaLang/julia/pull/27616). I haven’t seen any discussion on this other than some comments on the slack so I thought I’d make a thread here. Personally, I was a little annoyed that ARPACK was removed from Base and so in julia 0.7 if I wanted to do some basic linear algebra involving eigenvalues and eigenvectors I’d have to do using IterativeEigensolvers to load in the functions from the standard library. Now, IterativeEigensolve…

---

<div class="post-metadata">

### Author: ![Pier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pier/32/7335_2.png) [@Pier](https://discourse.julialang.org/u/Pier)
#### Post date: [October 19, 2018, 1:40pm UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/3 "2018-10-19T13:40:44Z")

</div>

Thanks for the kind reply!  
The “U iiMc” thing was just due to a problem with cut-and-past. It is actually ok.  
To me, but I am no expert, the problem seems to be the CompilerABI thing… which package should define it?  
Furthermore, I need Arpack because it is required by Distributions, which is the package I actually want to use.

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [October 19, 2018, 1:57pm UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/4 "2018-10-19T13:57:22Z")

</div>

I can clearly see now that Arpack is targeting Windows (and at least Linux and FreeBSD too). I looked up the error message and found another package that also targets Windows and should work, and maybe the discussion (that’s now closed) helps:

[https://github.com/JuliaMath/SpecialFunctions.jl/issues/125](https://github.com/JuliaMath/SpecialFunctions.jl/issues/125)

Unlike the latter that REQUIRES BinaryProvider 0.5, Arpack only requires 0.3. I’m not sure if it should require later.

Are you sure you’re using the latest package also (I saw it got an upgrade 15 days ago, but it seemed to also support Windows before, maybe not as well, for as many old computer, do you have an old one?).

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [October 19, 2018, 2:08pm UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/5 "2018-10-19T14:08:59Z")

</div>

> [@Palli](#):
>
> Unlike the latter that REQUIRES BinaryProvider 0.5, Arpack only requires 0.3. I’m not sure if it should require later.

0.4 had:

> <https://github.com/JuliaPackaging/BinaryProvider.jl/commit/be41ef9ef555a48284dbac7ed6a66b33eb334580>
>
> \* Quash depwarns
> 
> \* Stop testing on 0.6
> 
> \* Fix some additional 1.0 issues
> 
> …
> \* Drop Compat dependency
> 
> \* Use appveyor.yml from AppVeyor.jl
> 
> \* Two more missing \`contains()\` calls
> 
> \* Fix \`findfirst()\` invocation

so I find it likely Arpack should require more than 0.3, maybe even 0.6. You could make a PR and/or test first for you locally. I rather not want to if I’m wrong and I can’t test on Windows. As 0.4 dropped support for Julia 0.6, then possibly it’s a consideration, just not for you.

---

<div class="post-metadata">

### Author: ![andreasnoack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andreasnoack/32/27_2.png) [@andreasnoack](https://discourse.julialang.org/u/andreasnoack)
#### Post date: [October 20, 2018, 11:01am UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/6 "2018-10-20T11:01:10Z")

</div>

Have you modified anything related to which registry you are using? If not, could you try to run `pkg> update`.

---

<div class="post-metadata">

### Author: ![hckr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hckr/32/4836_2.png) [@hckr](https://discourse.julialang.org/u/hckr)
#### Post date: [October 20, 2018, 1:27pm UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/7 "2018-10-20T13:27:50Z")

</div>

Have you tried building it with official julia binaries? I had a building error with Arpack on Julia from my OS’s repository.

---

<div class="post-metadata">

### Author: ![Pier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pier/32/7335_2.png) [@Pier](https://discourse.julialang.org/u/Pier)
#### Post date: [October 23, 2018, 11:30am UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/8 "2018-10-23T11:30:01Z")

</div>

Apparently I messed up something with the registry. After a fresh re-install of JuliaPro 1.0.1.1 Arpack built without problems.  
Sorry for causing unnecessary alarm and thanks for your replies.

---

<div class="post-metadata">

### Author: ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)
#### Post date: [September 12, 2023, 4:41pm UTC](https://discourse.julialang.org/t/arpack-build-fails-on-juliapro-1-0-1-1-under-windows/16524/9 "2023-09-12T16:41:35Z")

</div>


