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

ERROR: LoadError: MethodError: no method matching vconvert(::Type{Float64}, ::Bool) #15

Open
ahasuni opened this issue Jun 24, 2024 · 1 comment

Comments

@ahasuni
Copy link

ahasuni commented Jun 24, 2024

Hello,

I am attempting to run openADMIXTURE on ukbiobank. I am running julia 1.10.3. After running for a few hours I get the following error:

ERROR: LoadError: MethodError: no method matching vconvert(::Type{Float64}, ::Bool)

Closest candidates are:
  vconvert(!Matched::Type{VectorizationBase.Mask{W}}, ::Bool) where W
   @ VectorizationBase ~/.julia/packages/VectorizationBase/jSp7w/src/llvm_intrin/masks.jl:1162
  vconvert(!Matched::Type{VectorizationBase.VecUnroll{N, 1, T, T}}, ::Union{Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, SIMDTypes.Bit}) where {N, T}
   @ VectorizationBase ~/.julia/packages/VectorizationBase/jSp7w/src/llvm_intrin/conversion.jl:260
  vconvert(!Matched::Type{VectorizationBase.VecUnroll{N, W, T, V}}, ::Union{Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, SIMDTypes.Bit}) where {N, W, T, V}
   @ VectorizationBase ~/.julia/packages/VectorizationBase/jSp7w/src/llvm_intrin/conversion.jl:242
  ...

My bed/fam/bim files are properly formatted and generated by plink1. I have tried to trouble shoot this error by looking through julia documentation but its unclear to me whats causing this issue.

Hasuni

@kose-y
Copy link
Member

kose-y commented Jul 19, 2024

The issue here is that one of the packages this package depends on, LoopVectoriztion.jl, has introduced several breaking changes and will soon stop its development. The recommendation here would be to use an older version of LoopVectorization.jl (around v0.12.163) or to use the GPU interface.

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

No branches or pull requests

2 participants