Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompilation fails #171

Closed
braamvandyk opened this issue Feb 11, 2025 · 1 comment · Fixed by #172
Closed

Precompilation fails #171

braamvandyk opened this issue Feb 11, 2025 · 1 comment · Fixed by #172

Comments

@braamvandyk
Copy link

On Windows 10 home, Julia v1.11.3

New project with only MonteCarloMeasurments added:

Version Info
julia> versioninfo()
Julia Version 1.11.3
Commit d63adeda50 (2025-01-21 19:42 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 8 default, 0 interactive, 4 GC (on 8 virtual cores)
Environment:
JULIA_NUM_THREADS = 8
JULIA_EDITOR = code

REPL Output
(@v1.11) pkg> activate .
Activating new project at D:\JuliaCode\Uncertainty

(Uncertainty) pkg> add MonteCarloMeasurements
Resolving package versions...
Updating D:\JuliaCode\Uncertainty\Project.toml
[0987c9cc] + MonteCarloMeasurements v1.4.4
Updating D:\JuliaCode\Uncertainty\Manifest.toml
[79e6a3ab] + Adapt v4.1.1
[66dad0bd] + AliasTables v1.1.3
[4fba245c] + ArrayInterface v7.18.0
[62783981] + BitTwiddlingConvenienceFunctions v0.1.6
[2a0fbf3d] + CPUSummary v0.2.6
[f70d9fcc] + CommonWorldInvalidations v1.0.0
[34da2185] + Compat v4.16.0
[adafc99b] + CpuId v0.3.1
[9a962f9c] + DataAPI v1.16.0
[864edb3b] + DataStructures v0.18.20
[31c24e10] + Distributions v0.25.117
[ffbed154] + DocStringExtensions v0.9.3
[1a297f60] + FillArrays v1.13.0
[c145ed77] + GenericSchur v0.5.4
[3e5b6fbb] + HostCPUFeatures v0.1.17
[34004b35] + HypergeometricFunctions v0.3.27
[615f187c] + IfElse v0.1.1
[92d709cd] + IrrationalConstants v0.2.4
[692b3bcd] + JLLWrappers v1.7.0
[10f19ff3] + LayoutPointers v0.1.17
[2ab3a3ac] + LogExpFunctions v0.3.29
[1914dd2f] + MacroTools v0.5.15
[d125e4d3] + ManualMemory v0.1.8
[e1d29d7a] + Missings v1.2.0
[0987c9cc] + MonteCarloMeasurements v1.4.4
[bac558e1] + OrderedCollections v1.8.0
[90014a1f] + PDMats v0.11.32
[aea7be01] + PrecompileTools v1.2.1
[21216c6a] + Preferences v1.4.3
[43287f4e] + PtrArrays v1.3.0
[1fd47b50] + QuadGK v2.11.2
[189a3867] + Reexport v1.2.2
[ae029012] + Requires v1.3.0
[79098fc4] + Rmath v0.8.0
[94e857df] + SIMDTypes v0.1.0
[476501e8] + SLEEFPirates v0.6.43
[a2af1166] + SortingAlgorithms v1.2.1
[276daf66] + SpecialFunctions v2.5.0
[aedffcd0] + Static v1.1.1
[0d7ed370] + StaticArrayInterface v1.8.0
[90137ffa] + StaticArrays v1.9.12
[1e83bf80] + StaticArraysCore v1.4.3
[10745b16] + Statistics v1.11.1
[82ae8749] + StatsAPI v1.7.0
[2913bbd2] + StatsBase v0.34.4
[4c63d2b9] + StatsFuns v1.3.2
[3d5dd08c] + VectorizationBase v0.21.71
[efe28fd5] + OpenSpecFun_jll v0.5.6+0
[f50d1b31] + Rmath_jll v0.5.1+0
[56f22d72] + Artifacts v1.11.0
[2a0f44e3] + Base64 v1.11.0
[ade2ca70] + Dates v1.11.0
[b77e0a4c] + InteractiveUtils v1.11.0
[76f85450] + LibGit2 v1.11.0
[8f399da3] + Libdl v1.11.0
[37e2e46d] + LinearAlgebra v1.11.0
[d6f4376e] + Markdown v1.11.0
[ca575930] + NetworkOptions v1.2.0
[de0858da] + Printf v1.11.0
[9a3f8284] + Random v1.11.0
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization v1.11.0
[2f01184e] + SparseArrays v1.11.0
[4607b0f0] + SuiteSparse
[fa267f1f] + TOML v1.0.3
[cf7118a7] + UUIDs v1.11.0
[4ec0a83e] + Unicode v1.11.0
[e66e0078] + CompilerSupportLibraries_jll v1.1.1+0
[e37daf67] + LibGit2_jll v1.7.2+0
[29816b5a] + LibSSH2_jll v1.11.0+1
[c8ffd9c3] + MbedTLS_jll v2.28.6+0
[4536629a] + OpenBLAS_jll v0.3.27+1
[05823500] + OpenLibm_jll v0.8.1+2
[bea87d4a] + SuiteSparse_jll v7.7.0+0
[8e850b90] + libblastrampoline_jll v5.11.0+0
Precompiling project...
? MonteCarloMeasurements

Precompiling MonteCarloMeasurements...
Info Given MonteCarloMeasurements was explicitly requested, output will be shown live
WARNING: method definition for muladd at C:\Users\Braam.julia\packages\MonteCarloMeasurements\uB1Vu\src\particles.jl:411 declares type variable N but does not use it.
WARNING: Method definition muladd(Number, Base.Complex{T} where T<:Real, MonteCarloMeasurements.Particles{var"#s97", N} where var"#s97"<:Number) where {N} in module MonteCarloMeasurements at C:\Users\Braam.julia\packages\MonteCarloMeasurements\uB1Vu\src\particles.jl:411 overwritten on the same line (check for duplicate calls to include).ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
? MonteCarloMeasurements
[ Info: Precompiling MonteCarloMeasurements [0987c9cc-fe09-11e8-30f0-b96dd679fdca] (cache misses: incompatible header (6))
WARNING: method definition for muladd at C:\Users\Braam.julia\packages\MonteCarloMeasurements\uB1Vu\src\particles.jl:411 declares type variable N but does not use it.
WARNING: Method definition muladd(Number, Base.Complex{T} where T<:Real, MonteCarloMeasurements.Particles{var"#s97", N} where var"#s97"<:Number) where {N} in module MonteCarloMeasurements at C:\Users\Braam.julia\packages\MonteCarloMeasurements\uB1Vu\src\particles.jl:411 overwritten on the same line (check for duplicate calls to include).ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
┌ Info: Skipping precompilation due to precompilable error. Importing MonteCarloMeasurements [0987c9cc-fe09-11e8-30f0-b96dd679fdca].
└ exception = Error when precompiling module, potentially caused by a precompile(false) declaration in the module.
WARNING: method definition for muladd at C:\Users\Braam.julia\packages\MonteCarloMeasurements\uB1Vu\src\particles.jl:411 declares type variable N but does not use it.
WARNING: method definition for muladd at C:\Users\Braam.julia\packages\MonteCarloMeasurements\uB1Vu\src\particles.jl:411 declares type variable N but does not use it.

(Uncertainty) pkg> st
Status D:\JuliaCode\Uncertainty\Project.toml
[0987c9cc] MonteCarloMeasurements v1.4.4

baggepinnen added a commit that referenced this issue Feb 12, 2025
@baggepinnen
Copy link
Owner

Thanks for the issue, it should be closed by

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants