communicate only if num proc > 1