I have got some problems getting the FGMRES solver to work. The problem can be reproduced using "fgmres_full_funct_c.c" from the MKL examples.
The shipped example program solves a 5x5 toy problem, using FGMRES with predconditioner, and works fine as is. However, when I deactivate the use of the user-supplied preconditioner by changing line 121 to
ipar = 0; /* C-style, zero-based! */
the program enters an infinite loop. I've attached the modified sample program (the only modification being said line).
PLEASE NOTE: I am aware of "fgmres_no_precon_c.c" (which works fine without a preconditioner), but I need to know specifically what's wrong with the example given above (since it reproduces a bug that occurs in my _actual_ code).