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

Julia and C Wrapper #273

Open
j-fu opened this issue Jan 18, 2024 · 2 comments
Open

Julia and C Wrapper #273

j-fu opened this issue Jan 18, 2024 · 2 comments

Comments

@j-fu
Copy link

j-fu commented Jan 18, 2024

Hi, thank you for the great package!

I just created a Julia wrapper package:
https://github.com/j-fu/AMGCLWrap.jl

It uses another C Wrapper

https://github.com/j-fu/amgcl_c

which instantiates AMG and relaxation solvers for double numbers and OpenMP backend with blocksizes 1...8 . Passing of parameters goes via json strings which are easily generated from Julia dicts, structs or tuples via JSON3.jl, so they are not exposed to the user.

Compiled binaries of the C Wrapper are automatically precompiled for all architecturs supported by Julia: https://github.com/JuliaBinaryWrappers/AMGCL_C_jll.jl .

With time I plan to extend this ( complex, saddlepoint...)

Best regards

Jürgen

@ddemidov
Copy link
Owner

Thanks! Feel free to create a PR to AMGCL with a link to your repo in README )

@j-fu
Copy link
Author

j-fu commented Jan 18, 2024

I'll check a bit how it performs in a couple of projects, when it appears to be stable I will do the PR.

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