-
Notifications
You must be signed in to change notification settings - Fork 577
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
overflowing 32-bit integer in ML #598
Comments
Hi Ray, 64-bit integers would work too (as an alternative to double). I think Jonathan had switched them from "int" to "double" ~10 years ago to avoid the overflow. I'll let you push the changes to the repo since it affects some of your other code. thanks |
Having some problems compile on cee-compute011 today. Not sure what it is ... it looks like something in the openmpi -Ray On 09/06/16 08:16, pwxy wrote:
Ray Tuminaro phone: (925) 294-2564 |
This was fixed in 4072573. - int local[2];
- int global[2];
+ long int local[2];
+ long int global[2]; |
Not really a fix, since |
True. But since the last communication was in September, and nobody complained since, and there was a patch dedicated to this... |
Hello Ray,
I noticed that in your August 26 17:15:44 check-in for ml_MultiLevelPreconditioner_Smoothers.cpp, you changed the following two lines from:
to:
What was the reason for this change?
Isn't this a bug? Because global[1] stores the "# estim. global nnz =", and for our MHD problems with 8 PDEs per mesh node, for greater than 10 million row matrices we will overflow a 32-bit int (since we will have greater than 2 billion global nnz). I was going to change them back to doubles, but I realized I should check with you first.
thanks
-paul
The text was updated successfully, but these errors were encountered: