Abstract:Compared with other parallel computation models,the LogP model reflects the characteristics of MPC(massively parallel computers)more reasonably.In this paper the authors try to use the LogP model to write portable algorithms for MPC.They first propose a general recurrence formula for the defining of optimal broadcast tree,then design and analysis the complete optimal single item broadcast algorithm and optimal summation algorithm in the LogP model whose parameters may have any given values.