Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Suppressing errors from PARDISO

More
3 years 3 months ago #3465 by al86
Hello, I am using NGSolve to solve some nonlinear problems and I would like to suppress the output coming from the PARDISO solver whenever errors occur. For instance, I get the following output:
Code:
Apply Inverse: PARDISO returned error -4!
when I call the function
Code:
NewtonMinimization
even with the parameter
Code:
printing=False
I suppressed all output to stdout or stderr coming from python following the instructions of this post: here . I am also using the setting
Code:
ngsglobals.msg_level=0
but it looks like it is not preventing the output above from the solver. I guess the residual output is coming from the C/Fortran library of PARDISO.
More
3 years 3 months ago #3481 by christopher
Fixed with github.com/NGSolve/ngsolve/commit/00d4f7...d7427848e7712a82bb6a

setting message level should now suppress these outputs as well.

Best
Christopher
Time to create page: 0.142 seconds