<div>Hi,</div>
<div>&nbsp;</div>
<div>I&#39;ve encountered some MPI programming problems. Does anyone know of a mailing list sort of discussion forum similar to this PETSc one which deals with MPI?</div>
<div>&nbsp;</div>
<div>Btw, my question is as follow, it will be great if someone can help too ;-)</div>
<div>&nbsp;</div>
<div>It&#39;s in fortran but I guess it should be similar in C. Put it simply, how do I broadcast part of a derived type variable to other processors ie</div>
<div>&nbsp;</div>
<div>type particle</div>
<div>&nbsp;</div>
<div>real x,y,z</div>
<div>&nbsp;</div>
<div>integer number</div>
<div>&nbsp;</div>
<div>end type particle</div>
<div>&nbsp;</div>
<div>type(particle) part(10,10)</div>
<div>&nbsp;</div>
<div>So I want to broadcast part(:,:)%x to other processors. How can I do that? I tried to use:</div>
<div>&nbsp;</div>
<div>call MPI_BCAST(part(i,j)%x, 1, MPI_Real,1, MPI_COMM_WORLD, ierr) but it can&#39;t work.</div>
<div>&nbsp;</div>
<div>Thank you very much</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>