giordano / Cuba.jl

Library for multidimensional numerical integration with four independent algorithms: Vegas, Suave, Divonne, and Cuhre.
https://giordano.github.io/Cuba.jl/stable
MIT License
75 stars 9 forks source link

Fail to precompile Cuba #18

Closed FiniteelementDuan closed 6 years ago

FiniteelementDuan commented 6 years ago

I have used the following code to install the Cuba package, and it works fine.

julia> Pkg.update()
julia> Pkg.add("Cuba")

However, i got an error 'ERROR: Failed to precompile Cuba', when I use the following code:

using Cuba

What is the solution for this please?

I have a windows 10 system, and just installed Julia 1.0.

giordano commented 6 years ago

A few hours ago I've tagged a new version of Cuba.jl supporting Julia 0.7/1.0. Waiting for https://github.com/JuliaLang/METADATA.jl/pull/16976 to be merged :wink:

giordano commented 6 years ago

In the meantime, you can switch to the master branch with:

] add Cuba#master

After the PR in METADATA is merged, you can go back to the stable version with

(v1.0) pkg> free Cuba

(v1.0) pkg> update
FiniteelementDuan commented 6 years ago

Ok. Many thanks!