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

Use the C interface of hsl_ma57 #182

Open
amontoison opened this issue May 5, 2023 · 4 comments
Open

Use the C interface of hsl_ma57 #182

amontoison opened this issue May 5, 2023 · 4 comments

Comments

@amontoison
Copy link
Member

  • It is required if we want to use the functions in hsl_ma57_patch.jl.
@goulart-paul
Copy link

Is there any update to this issue? Specifically, I would really like to use ma57_get_factors, but can't get it to work on any branch. It seems to want a ma57lfd_ symbol that doesn't appear in the HSL binaries.

Asking because the package is occasionally producing factorisations for me that appear to have a lot more nonzeros in the factors than I think should be there, but it's quite hard to debug without being able to query for the factors directly.

@amontoison
Copy link
Member Author

amontoison commented Sep 29, 2023

ma57lfd_ was available with a patch for the Fortran code of ma57 developed by Dominique. By default we can't use these routines.
With the lastest releases of hsl_ma57, they added the features that we wanted but only in the C interface.

So, we need to rewrite our Julia interface for ma57 bacause we interfaced it before that they added the C interface.

@amontoison
Copy link
Member Author

@goulart-paul
I found a fix for ma57_get_factors, we will be able to use this function with the next release of JuliaHSL / libHSL.
If you don't want to wait, send me an email with your platform (Base.BinaryPlatforms.host_triplet()).

@amontoison
Copy link
Member Author

@goulart-paul
ma57_get_factors works with the HSL_jll.jl provided by libHSL.
I was released this week. 🎉

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