[FLASH-USERS] HYPRE iterations

Lee Ellison lee at pacificfusion.com
Thu Sep 12 12:10:00 EDT 2024


Hi Matt,

Looks like you need to set the flags for the correct *unified* hypre
solver. You set the flags for gr_hypre, which is not the new, unified hypre
package. Meanwhile, the error message is from gr_uhypre. Check out
Section 8.10.4.2 of the user guide for additional details.

Good luck!
Lee

________________
Leland Ellison PhD
Pacific Fusion
Lead - Modeling and Simulations

On Thu, Sep 12, 2024 at 8:48 AM Ryan Farber <rjfarber at umich.edu> wrote:

> Hi Matthew,
>
> Here’s how you can possibly solve the issue yourself:
>
> 1)
> Look in gr_uhypreSolve and see if 500 is hardcoded (unlikely) or the name
> of the parameter.
>
> 2)
> Grep for that parameter and see where it gets its value (hopefully via a
> RuntimeParameters_get call in an *init.F90 subroutine).
>
> 3)
> Make sure the name of your entry in flash.par matches the string in the
> RuntimeParameters_get call.
>
> ==
> Otherwise, it would be helpful if you can attach your log file.
>
> Best wishes,
> Ryan
>
> Sent from my iPhone
>
> On Sep 12, 2024, at 10:05 AM, Matthew Trantham <mtrantha at umich.edu> wrote:
>
> 
> Hello,
>
> I am getting this error in hypre:
>
> [gr_uhypreSolve]: Nonconv./failure ierr=256, descr=[Method did not
> converge], component=19, converged=T, |initial RHS|^2=5.6774E+05,
> num_iterations=500, final_res_norm=1.893391864118381E+063
>
>
> Specifically, the num_iterations is 500, I requested
>
>
> gr_hypreSolverType = "HYPRE_GMRES"
>
> gr_hypreMaxIter = 10000000
>
> gr_hypreMaxIterMag = 1000000
>
> gr_hypreMinIter = 1000
>
> gr_hyprereltol = 1.e-7
>
> gr_hyprereltolMag = 1.e-7
>
>
> Why is it stopping at the default value of 500 and not going to 1000000?
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240912/8b9d9607/attachment.htm>


More information about the flash-users mailing list