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

Unable to use the library on Windows #4

Closed
ziotom78 opened this issue Feb 25, 2023 · 2 comments
Closed

Unable to use the library on Windows #4

ziotom78 opened this issue Feb 25, 2023 · 2 comments

Comments

@ziotom78
Copy link
Owner

Even with release 0.29.0+1 of ducc0_jll the CI builds still fail on Windows. It seems that Yggdrasil's PR#6306 was not enough to fix the problems with Julia, as now the tests are failing because the JLL package does not find a suitable DLL file.

Judging from the source code for ducc0_jll, it seems that if AVX is available then ducc0_jll wants to use an AVX DLL and is not able to fall back to the first available binary (in our case, x86_64). If I run augment_microarchitecture on my Windows 7 system, it sets platform["march"] to avx, and then this happens:

julia> using ducc0_jll

julia> ducc0_jll.is_available()
false

I fear this happens because we skipped the creation of the AVX DLL in the first place!

@giordano, do you have any idea about how to fix this and force Julia to revert to x86_64 if no avx DLL is available? I would avoid fixing platform_augmentation manually…

@giordano
Copy link

Can you try with JuliaRegistries/General#78531? Pkg is pretty broken with selection of microarchitecture artifacts, that's why we haven't advertised it much, and use it sparsely.

@ziotom78
Copy link
Owner Author

Can you try with JuliaRegistries/General#78531? Pkg is pretty broken with selection of microarchitecture artifacts, that's why we haven't advertised it much, and use it sparsely.

You're awesome, the builds now complete successfully! Many thanks!

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