Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6977 Discussions

how to turn off warning msg. when calling poisson library

Chang_Lei
Beginner
359 Views
I'm trying to turn off warning msg. when calling poisson library, as follow code:

call d_init_Helmholtz_3D(...,ipar,dpar,stat)

call d_commit_Helmholtz_3D(...,ipar,dpar,stat)

ipar(2)=0 !turn off warning msg

call d_Helmholtz_3D(...,ipar,dpar,stat)

call free_Helmholtz_3D(xhandle,yhandle,ipar,stat)

but find it doesn't work and the warning msg."The problem is degenerate up to rounding errors! The approximate solution that provides the minimal Eucledean (sic) norm of the residual will be computed..." is still printed on the screen.

Have I made mistake when set ipar(2) zeroor how can I turn off the warning msg.?
Thanks for your help.
Best regards.
Lei Chang

0 Kudos
1 Solution
Alexander_K_Intel2
359 Views
Hi,
Actually, this message is not error, but warning. To stop printing warning setipar(3) = 0.
With best regards,
Alexander Kalinkin

View solution in original post

0 Kudos
2 Replies
Alexander_K_Intel2
360 Views
Hi,
Actually, this message is not error, but warning. To stop printing warning setipar(3) = 0.
With best regards,
Alexander Kalinkin
0 Kudos
Chang_Lei
Beginner
359 Views
Got it! Thanks.
0 Kudos
Reply