EconForge / Dolo.jl

Economic modeling in Julia
Other
57 stars 29 forks source link

Precompilation issue (again) #134

Open albop opened 6 years ago

albop commented 6 years ago

Installing on a fresh JuliaPro (windows) with Pkg.add( raises:

ERROR: Failed to precompile Dolo to C:\Users\Utilisateur\.julia\lib\v0.6\Dolo.ji.
Stacktrace:
[1] compilecache(::String) at .\loading.jl:710
[2] _require(::Symbol) at .\loading.jl:497
[3] require(::Symbol) at .\loading.jl:405
[4] eval(::Module, ::Any) at .\boot.jl:235
[5] eval(::Any) at .\boot.jl:234
[6] macro expansion at C:\JuliaPro-0.6.2.2\pkgs-0.6.2.2\v0.6\Atom\src\repl.jl:117 [inlined]
[7] anonymous at .\<missing>:?
albop commented 6 years ago

I don't see any other reasonable way than deactivate precompile altogether. @sglyon ?

sglyon commented 6 years ago

I haven’t come across this myself, but I haven’t tried on new, fresh machines as often.

Do we know why it is happening? If we can’t figure that out then I suppose we will need to disable the precompilation

albop commented 6 years ago

Apparently this happens on windows 7 machines and is due to the build of symengine. I'll try to report it on Symengine.jl . Still I wonder, is there an easy way to deactivate precompiling, other than commenting a line ?

Le ven. 11 mai 2018 à 13:39, Spencer Lyon notifications@github.com a écrit :

I haven’t come across this myself, but I haven’t tried on new, fresh machines as often.

Do we know why it is happening? If we can’t figure that out then I suppose we will need to disable the precompilation

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EconForge/Dolo.jl/issues/134#issuecomment-388339730, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQ5KegeWB6a0MlZkZuiD_gTGWeMYIRXks5txXiFgaJpZM4T7P7h .

sglyon commented 6 years ago

Ok -- sounds like something we should be able to fix with the SymEngine team.

Do you have an idea for what would be easier than commenting out the line?

albop commented 6 years ago

That was my question... Maybe a global switch that turns off precompiling altogether ? Something we could put in the faq. Here I had no information about symengine until I commented.

Le ven. 11 mai 2018 à 17:51, Spencer Lyon notifications@github.com a écrit :

Ok -- sounds like something we should be able to fix with the SymEngine team.

Do you have an idea for what would be easier than commenting out the line?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EconForge/Dolo.jl/issues/134#issuecomment-388404638, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQ5Kbiqjmp6uVJCiECV9n9B3XRYIXVwks5txbN-gaJpZM4T7P7h .