Frédéric Menou wrote:
> Hi everyone!
>
> (I'm not very experienced in MPI and I didn't check all bugs of
> lam7.1.2 so maybe the problem I want to explain to you is already
> solved)
>
> So,
>
> I have 1 master MPI software, called M, which spawns some slaves of 4
> types A,B,C,D, with card(A) = n and card(B)=card(C)=card(D) = p,
> therefore Size(intercomm) = 1+n+3*p.
>
> After spawning M sends some initialization messages to A's, B's, C's
> and D's depending on their kind. The fact is that As are supposed to
> receive 'long' messages (over 100 chars) while the others only receive
> small messages (<10 chars).
>
> If p >= 5, 'long messages' are truncated with a strange character at
> position 130.
> Messages shorter than 130 are not truncated.
>
> This "bug" (maybe it's my fault but I really don't where I could come
> from) is extremely reproducible. It only appears when p>=5.
>
I'm not aware of LAM having such a problem, though it's possible. Could
you try writing a simple test program that demonstrates the problem? My
bet is that this is a problem with your code (memory allocation or
pointer handling); a small program would help to either reveal the
problem in your app or aid in LAM debugging.
Andrew
|