MS-MPI won't initialize on a certain machine.

jian.zhang 0 Reputation points
2023-03-15T13:45:54.0466667+00:00

Dear all,

My MPI program fails to run on a certain machine. The program crashes in MPI_Init with error:

Fatal error in MPI_Init: Other MPI error, error stack: MPI_Init(argc_p=0x00000009B47C2FAD0, argv_p=0x0000009B47C2FAD8) failed [ch3:nd] IND2Listener::Bind failed with 0xc0000141

I've also tried MPI_Init_thread with provided=FUNNELED, but the error info is still the same.

Also, running mpiexec.exe -n 3 MpiPingpong.exe -m gives the same error.

The operating system is Windows Server 2012 R2. But the problem is not replicated on other machines with the same OS version.

Does anyone know why? Or suggestions on where I should look at?

Many thanks.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,113 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 43,931 Reputation points
    2023-03-16T15:23:29.3566667+00:00

    Hi,

    I'd be happy to help you out with your question. Sorry for the inconvenience caused.

    If the problem with MPI initialization is not replicated on other machines with the same OS version, it could be due to some machine-specific issues. Here are some possible causes and solutions:

    1. Hardware issues: The machine where the program is failing may have hardware issues that are causing MPI to fail during initialization. Check if there are any hardware errors or failures reported in system logs.
    2. Software conflicts: There may be software conflicts or compatibility issues on the machine where the program is failing that are causing MPI to fail during initialization. Check if there are any conflicting software or drivers installed on the machine.
    3. System updates: The machine where the program is failing may have outdated system updates or patches that are causing MPI to fail during initialization. Ensure that all system updates and patches are installed correctly.
    4. Firewall or security settings: Some firewall or security settings may block communication between processes, causing MPI to fail during initialization.

    To diagnose and fix these issues, you can try running some basic MPI programs such as "Hello World" on the machine where your program is failing to see if they work correctly. You can also check system logs for any relevant error messages that might help identify the root cause of the problem.

    Additionally, you can try disabling any firewalls or security settings temporarily to see if they are causing issues with communication between processes.

    For more Information, Please refer to following resource :-

    Windows Update issues troubleshooting - https://learn.microsoft.com/troubleshoot/windows-client/deployment/windows-update-issues-troubleshooting

    If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you

    0 comments No comments