- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The DFGMRES example provided with MKL 2021.2 runs fine as it did with earlier versions of MKL, but it emits a number of false warnings.
This happens with both the Fortran (fgmres_full_funct.f90) and C (fgmres_full_funct.c) examples. The warnings are output when DFGMRES_CHECK is called.
------------------------------------------------------------------------------
Intel MKL RCI FGMRES WARNING:
Parameters IPAR(1), IPAR(15) and IPAR(16) have incompatible values.
Some of these parameters were probably altered after DFGMRES init routine.
Some of these parameters were probably altered after DFGMRES init routine.
The dashed line and the next four lines are repeated five more times, with 17, 18, 19, 20 and 21 in place of "16" in the second line .
The results are fine, the warnings are spurious. With an older version of Parallel Studio (PS2016), and the MKL that it came with (11.3.4), these spurious warnings are not seen.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @mecej4,
We decided to emit these warnings (and actually return a new non-zero error code) intentionally.
In the past, dfgmres_init did not initialize certain parameter values and dfgmres_check had an unexpected side effect of silently initialiazing = changing parameters and hence was not just a "check" and was not optional opposite to what the documentation stated.
Per request of a customer, we fixed this behavior. Now, dfgmres_init initializes ipar. Then it is up to the user to change parameters (optionally) and call dfgmres_check which checks the parameters and if finds a discrepancy, fixes it (and emits a warning).
Are these warnings a problem for you? You should be able to turn them off by changing the ipar which controls verbosity of the output.
Best,
Kirill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it is not a problem. I was just surprised by seeing an Intel-provided example giving lots of warnings.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the feedback! We'll consider turning these warnings off in the examples by decreasing output verbosity througn ipar.
Best,
Kirill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in case, if the warnings are the problem, changing the default values of ipar[5] and ipar[6] will help to eliminate all warnings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page