Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

MPI Error

littlewang
Beginner
4,509 Views

When I run mpirun, I get an error message with the information contained in the graph. How should I fix it?
Any reply will be sincerely appreciated!

 

littlewang_0-1629808635369.png

Fatal error in PMPI_Barrier: Invalid communicator, error stack:
PMPI_Barrier(476): MPI_Barrier(comm=0x7fff) failed
PMPI_Barrier(380): Invalid communicator
Fatal error in PMPI_Barrier: Invalid communicator, error stack:
PMPI_Barrier(476): MPI_Barrier(comm=0x7ffe) failed
PMPI_Barrier(380): Invalid communicator
Fatal error in PMPI_Barrier: Invalid communicator, error stack:
PMPI_Barrier(476): MPI_Barrier(comm=0x7ffd) failed
PMPI_Barrier(380): Invalid communicator
Fatal error in PMPI_Barrier: Invalid communicator, error stack:
PMPI_Barrier(476): MPI_Barrier(comm=0x7ffe) failed
PMPI_Barrier(380): Invalid communicator
rank 3 in job 33 mu01_38488 caused collective abort of all ranks
exit status of rank 3: return code 1
rank 2 in job 33 mu01_38488 caused collective abort of all ranks
exit status of rank 2: return code 1
rank 1 in job 33 mu01_38488 caused collective abort of all ranks
exit status of rank 1: return code 1
rank 0 in job 33 mu01_38488 caused collective abort of all ranks
exit status of rank 0: return code 1

0 Kudos
1 Solution
SantoshY_Intel
Moderator
4,430 Views

Hi,


Thanks for providing the requested details. We can see that you are using MPicH-1.1.1. This forum is intended to support queries related to Intel oneAPI HPC Toolkit and Intel MPI.

Could you please let us know if you have any queries related to Intel MPI? If not, please let us know if we can close this thread from our end.



Thanks & Regards,

Santosh


View solution in original post

0 Kudos
4 Replies
SantoshY_Intel
Moderator
4,475 Views

Hi,


Thanks for reaching out to us.


Could you please let us know the OS details and the intel oneAPI version you are using?

Are you facing the same issue when running sample MPI programs?

Please provide us a sample reproducer code to investigate more on your issue.


Best Regards,

Santosh



0 Kudos
littlewang
Beginner
4,466 Views

Thank you very much for your reply.

I used centos and MPicH-1.1.1. After installing mpich, I tested it and it worked correctly in the attached example file.

Note that when I comment out MPI_Barrier, MPI_Isend still reports an error, as shown in the figure.

I will attach part of my code for your reference. Thanks again!

littlewang_0-1629877078444.png

 

0 Kudos
SantoshY_Intel
Moderator
4,431 Views

Hi,


Thanks for providing the requested details. We can see that you are using MPicH-1.1.1. This forum is intended to support queries related to Intel oneAPI HPC Toolkit and Intel MPI.

Could you please let us know if you have any queries related to Intel MPI? If not, please let us know if we can close this thread from our end.



Thanks & Regards,

Santosh


0 Kudos
SantoshY_Intel
Moderator
4,407 Views

Hi,

 

Thanks for accepting as a solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Best Regards,

Santosh

 

0 Kudos
Reply