I think it's time we work on the release of the 1.1 version of the Intel test suite. The "latest" version out there is several years old and there have been many bug fixes since then. Thoughts? -- Pavan -------- Original Message -------- Subject: Re: [MPICH] Bug in rings test of the MPI Intel Test suite ? Date: Fri, 5 Oct 2007 08:41:24 -0500 From: William Gropp <[email protected]> To: Sylvain Jeaugey <[email protected]> CC: [email protected] References: <[email protected]> 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
-- Pavan Balaji http://www.mcs.anl.gov/~balaji