Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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}];

OR

ParallelEvaluate[Off[NIntegrate::slwcon]]; ParallelTable[your code here, {your iterator here}]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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