For this systems A=[i 0 1; 0 -i 1; 0 0 I]; b=[1;1;1;] and calling pd_gmres(A,b,2), the solver does not converge but returns flag=1.
For this systems
A=[i 0 1; 0 -i 1; 0 0 I]; b=[1;1;1;]
and calling pd_gmres(A,b,2), the solver does not converge but returns flag=1.