Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

MPI_BARRIER

fnn
Beginner
381 Views
I use vs2019 and parallel_studio
_xe_2020_edition on Windows 10. When I run the mpi fortran program,I found some problems.The function
MPI_BARRIER(MPI_COMM_WORLD) can not run in two computers. When the function MPI_BARRIER is executed, the program is no longer executed. However it can be run on one computer. Thanks for your help.
0 Kudos
5 Replies
PrasanthD_intel
Moderator
369 Views

HI,


Could you please let us know the error you were facing while using MPI_BARRER?

Please export I_MPI_DEBUG=10 while collecting the logs.

Also please mention which interconnect and the provider you were using.


Regards

Prasanth


fnn
Beginner
364 Views

Hi,

   Thank you for your help.After I used the command -hosts 172.26.161.80,172.31.217.65 -n 4 -ppn 2 -env I_MPI_DEBUG=10 "$(TargetPath)",the program can run normally.The three images in the file are the results of the program and its execution.

PrasanthD_intel
Moderator
361 Views

Hi,


Glad your issue got resolved. It was not related to MPI_BARRIER but might be due to the command line you have used while trying to launch across multiple nodes.

Please let us know if you have any further questions else, we can close the thread,


Regards

Prasanth


PrasanthD_intel
Moderator
333 Views

Hi,


Since your issue has been resolved can we close the thread?


--Prasanth


PrasanthD_intel
Moderator
288 Views

Hi,


We are closing this thread as your issue has been resolved and you haven't came back with any additional queries.

If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only


Regards

Prasanth



Reply