[MPICH] Bug in rings test of the MPI Intel Test suite ?
William Gropp
gropp at mcs.anl.gov
Fri Oct 5 08:41:24 CDT 2007
Thanks for the note. This is fixed in our most current version; do
you have the latest version of the Intel suite (there have been many
minor but important fixes like this, particular for bugs that show up
on 64 bit platforms)?
Bill
On Oct 4, 2007, at 10:46 AM, Sylvain Jeaugey wrote:
> Hi all,
>
> I think I just found a bug in the "rings" test of the Intel Test
> Suite. I didn't find a dedicated mailing list, so I'm posting here.
>
> At line 231 of node.c, we call :
> ierr = MPI_Bcast(&seed, 1, MPI_LONG, 0, MPI_COMM_WORLD);
>
> However, seed is an "int". On itanium, sizeof(long) is 8 whereas
> sizeof(int) is 4. This causes the Bcast of seed as well as .... the
> lower 4 bytes of the rings pointer. In my case, process 0 and
> process 1 don't have the same pointer for rings, hence causing
> quickly a segmentation fault.
>
> I changed the type to MPI_INTEGER :
> ierr = MPI_Bcast(&seed, 1, MPI_INTEGER, 0, MPI_COMM_WORLD);
> and everything works fine.
>
> Sylvain
>
>
>
More information about the mpich-discuss
mailing list