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

AMGX Fails to Converge to the Correct Solution #302

Open
fxuecnu opened this issue Apr 24, 2024 · 2 comments
Open

AMGX Fails to Converge to the Correct Solution #302

fxuecnu opened this issue Apr 24, 2024 · 2 comments

Comments

@fxuecnu
Copy link

fxuecnu commented Apr 24, 2024

Hello everyone,

I'm currently trying to solve a large linear system using AMGX and I'm a bit stuck. My matrix data is in CSR (Compressed Sparse Row) format. I must confess that my knowledge of linear algebra isn't very strong, which might be part of the problem.

I've attempted to use almost all the default configuration files provided by AMGX, but I can't seem to get the correct results. Interestingly, I can solve the system correctly in MATLAB, but it's too slow, which is why I turned to AMGX.

I'm not sure how to tweak the configuration files to get the correct solution in AMGX. Could anyone offer some advice or share experiences that might point me in the right direction? Any suggestions on specific parameters or configurations that could be crucial for improving the solver's accuracy or performance would be greatly appreciated.

Thank you!
matrix_info.zip

@marsaev
Copy link
Collaborator

marsaev commented Jul 4, 2024

Can I ask you how you constructed this matrix? There are a lot of zeros on the diagonal, which doesn't play well with typical smoothers which scale by inverted diagonal value.

@fxuecnu
Copy link
Author

fxuecnu commented Jul 4, 2024 via email

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