SciML / PolyChaos.jl

A Julia package to construct orthogonal polynomials, their quadrature rules, and use it with polynomial chaos expansions.
https://docs.sciml.ai/PolyChaos/stable/
MIT License
115 stars 26 forks source link

Compilation error with Polychaos #37

Closed ludoro closed 4 years ago

ludoro commented 4 years ago

Hello, following the tutorial, when typing "using Polychaos" on version 0.2.2, i get the following error:

ERROR: LoadError: EOFError: read end of file
Stacktrace:
 [1] read(::IOStream, ::Type{Int64}) at ./iostream.jl:361
 [2] parse_cache_header(::IOStream) at ./loading.jl:1323
 [3] stale_cachefile(::String, ::String) at ./loading.jl:1402
 [4] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:757
 [5] _require(::Base.PkgId) at ./loading.jl:1006
 [6] require(::Base.PkgId) at ./loading.jl:927
 [7] require(::Module, ::Symbol) at ./loading.jl:922
 [8] include(::Module, ::String) at ./Base.jl:377
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:331 [inlined]
 [11] eval(::Expr) at ./client.jl:449
 [12] top-level scope at ./none:3
in expression starting at /Users/ludovicobessi/.julia/packages/PolyChaos/Dhyx4/src/PolyChaos.jl:8
ERROR: Failed to precompile PolyChaos [8d666b04-775d-5f6e-b778-5ac7c70f65a3] to /Users/ludovicobessi/.julia/compiled/v1.4/PolyChaos/bwvo3_lR8zj.ji.

There was probably a corrupted file in my .julia/compiled/ directory, I solved this by following: https://stackoverflow.com/questions/59570508/error-eoferror-read-end-of-file-when-using-package-after-installing-new-juli

timueh commented 4 years ago

Hi @ludoro, thanks for mentioning. sorry for the hassle!