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

Error in debugging example file 'cg_mrhs_precond.f'

Zhanghong_T_
Novice
311 Views

Hi all,

I have problem to debug the example file 'cg_mrhs_precond.f'. I set a breakpoint after the statement

ELSEIF (RCI_REQUEST .EQ. 3)THEN

However, the program directly run to the last line without pausing at the breakpoint. Furthermore, I checked the solution X and found the are all ZERO.

Could any one help me to solve the problem? Or is there any bug?

Thanks,

Zhanghong Tang

0 Kudos
1 Reply
Sergey_G_Intel
Employee
311 Views

Dear Zhanghong Tang,

Please try to compile the example 'cg_mrhs_precond.f' with preprocessor. It would be -fpp compiler option on Linux, /Qfpp on Windows, or marked field "Preprocess Source File" in Visual Studio (if you have Intel Fortran Compiler installed).

If this does not help to resolve your problem, please provide more information on the problem: OS, compiler, computer. It would be even greater if you can provide a test case that fails.

0 Kudos
Reply