[mvapich-discuss] Mvapich -mpirun problems

Rui Wang wangraying at gmail.com
Sat Jan 14 23:28:22 EST 2012


Hi all,

 

I used the Mvapich2-1.8a1p1 and Mvapich2-1.7 to do some small tests. But I
always encountered the segment fault. Does anyone else have the same problem
with me?

 

The test I used is very simple:

__________________________________________

#include<stdio.h>

#include<stdlib.h>

#include "mpi.h"

 

int main(int argc, char ** argv)

{

    int rank;

    MPI_Init( NULL, NULL); 

    MPI_Comm_rank( MPI_COMM_WORLD, &rank);

    MPI_Finalize();

    return 1;

 

}

_____________________________________________

But after I ran

[*@* bin]$ ./mpicc -o fail_test fail_test.c 

[*@* bin]$ ./mpirun -np 2 ./fail_test

[*:mpi_rank_0][error_sighandler] Caught error: Segmentation fault (signal
11)

[*:mpi_rank_1][error_sighandler] Caught error: Segmentation fault (signal
11)

 

============================================================================
=========

=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES

=   EXIT CODE: 11

=   CLEANING UP REMAINING PROCESSES

=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES

============================================================================
=========

APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)

 

Does anyone know where may be the problem? Thanks very much!

 

Best Regards,

 

Rui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20120115/6f102a80/attachment.html


More information about the mvapich-discuss mailing list