I'm using ParallelTable to evaluate a function that involves NIntegrate. There are a lot of NIntegrate::slwcon warning messages. In fact, every kernel prints the same messages.

I am aware that Mathematica is printing these warnings and now want to suppress them. I tried Quiet[] and Off[NIntegrate::slwcon. But they seem to have no effect whatsoever when using ParallelTable.

How can I turn off (any) warning message when using ParallelTable?


1 Answer 1


Not knowing quite what you're doing this may or may not help. I think the problem is you're turning the warnings off in the master kernel and the warnings you're seeing come from the slaves. I'd suggest...

ParallelTable[Quiet[your code here],{your iterator here}];


ParallelEvaluate[Off[NIntegrate::slwcon]]; ParallelTable[your code here, {your iterator here}]
  • 4
    $\begingroup$ Actually instead of the second option you can just do ParallelTable[Off[NIntegrate::slwcon];your code here,{your iterator here}];. The Off[] call shouldn't take much time, so I think it's safe enough to execute it for each iteration. $\endgroup$
    – Ruslan
    Commented May 3, 2015 at 9:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.