mpich-gm on hybrid ia32/ia64
Stephane Marchesin <[email protected]> Sun, 27 Mar 2005 17:48:53 +0200
| Newsgroups | gmane.network.myrinet.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------010904030501090908020707
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I'm trying to use mpich-gm on a hybrid ia32/ia64 environment and it
looks like messages get truncated somehow.
Here is a sample run of the attached program (but this is not specific
to MPI_Bcast, it also happens with MPI_Send/MPI_Recv).
node 0/3
Linux hpc-n04 2.4.18-e.31smp #1 SMP Wed May 21 17:47:59 EDT 2003 ia64
unknown
node 1/3
Linux hpc-n05 2.4.18-e.31smp #1 SMP Wed May 21 17:47:59 EDT 2003 ia64
unknown
node 2/3
Linux hpc-g01 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10 EDT 2004 i686
i686 i386 GNU/Linux
node 0/3 - test
node 1/3 - test
node 2/3 test - test
The setup is as follows :
- gm 2.0.8 (gm itself seems to be working fine, at least the basic
gm_simple_example_recv.c/gm_simple_example_send.c works)
- mpich-gm 1.2.6..13b
Any insights ? Is mpich-gm supposed to work on hybrid setups ?
Thanks,
Stephane
--------------010904030501090908020707
Content-Type: text/plain;
name="mpitest.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="mpitest.c"
#include <stdio.h>
#include <unistd.h>
#include <mpi.h>
main(int argc, char* argv[])
{
int mpi_rank,mpi_size;
MPI_Init(&argc,&argv);
MPI_Comm_rank(MPI_COMM_WORLD,&mpi_rank);
MPI_Comm_size(MPI_COMM_WORLD,&mpi_size);
printf("node %d/%d\n",mpi_rank,mpi_size);
system("uname -a");
char s[]="test - test";
if (mpi_rank!=2)
{
for(int i=0;i<11;i++)
s[i]='a';
}
MPI_Bcast(s,12,MPI_CHAR,2,MPI_COMM_WORLD);
printf("node %d/%d %s\n",mpi_rank,mpi_size,s);
MPI_Finalize();
}
--------------010904030501090908020707
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Myrinet mailing list
[email protected]
http://email.osc.edu/mailman/listinfo/myrinet
--------------010904030501090908020707--