Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Mykael BOUQUEY (mickael.bouquey_at_[hidden])
Date: 2006-05-23 08:56:19


I have written this short program

#include <mpi.h>
#include <stdio.h>
#include <sys/utsname.h>

int main(int argc, char **argv){
 int i, myid, numprocs;
 struct utsname name;
 MPI_Status status;

 MPI_Init(&argc, &argv);
 MPI_Comm_size(MPI_COMM_WORLD, &numprocs);
 MPI_Comm_rank(MPI_COMM_WORLD, &myid);

 printf("Je suis %d/%d on %s\n", myid, numprocs, name.nodename);

 if (myid == 0){
     fprintf(stderr,"Tour %d : Envoye '%c' vers 1\n", i, buf[0]);
     fprintf(stderr,"Tour %d : Recu '%c' de 0\n", i, buf[0]);
 return 0;

I compile with : mpicc pingpong.c -o pingpong
And when i try to launch it with : mpiexec -n 2 pingpong
I have this :
Je suis 0/2 on xpscp117892.tasfr.thales
Je suis 1/2 on xpscp117892.tasfr.thales
[xpscp117892.tasfr.thales:08216] mca_btl_sm_send: write fifo failed:
Tour 4130968 : Envoye 'i' vers 1
Tour 4716696 : Recu 'i' de 0

And I don't understant why I have an error "mca_btl........"
PS: I'm working with only one PC