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

How to use different mpiexec bootstrap when running an MPI program in Windows ?

ArthurRatz
Novice
2,753 Views

Using mpiexec utility in Windows I've revealed that a different bootstrap (such as ssh or fork) can be used to run MPI programs rather than a windows service. My question is how to setup an ssh server on multiple nodes intended to execute my MPI program ? And is there a different between "ssh" and "fork" bootstraps ?

Thanks in advance.

Cheers, Arthur.

0 Kudos
1 Solution
Artem_R_Intel1
Employee
2,753 Views

And one more question: how to run an MPI program on multiple hosts using Cygwin ?

You should just specify '-bootstrap ssh' in the MPI command line.

From the Intel® MPI Library for Windows* OS Reference Manual:

-bootstrap <bootstrap server>
Use this option to select a built-in bootstrap server to use. A bootstrap server is the basic remote node access mechanism that is provided by the system. The default bootstrap server is service.
Arguments
<arg>
Global options that apply to all MPI processes
service
Use hydra service agent. This is the default value
ssh
Use secure shell
fork
Use this option to run an application on the local node only
To enable Intel® MPI Library to use the –bootstrap ssh option, provide the ssh connectivity between nodes. Ensure that the corresponding ssh client location is listed in your PATH environment variable.

View solution in original post

0 Kudos
5 Replies
Artem_R_Intel1
Employee
2,753 Views

Hi Arthur,

For '-bootstrap ssh' you can use Cygwin* environment (OpenSSH* package is available there) or any other SSH implementations for Windows*. For MPI scenarios you should configure password less SSH (like for Linux*).

'-bootstrap fork' can be used only within 1 node (local MPI run).

0 Kudos
ArthurRatz
Novice
2,753 Views

Thanks for your reply.

0 Kudos
ArthurRatz
Novice
2,753 Views

And one more question: how to run an MPI program on multiple hosts using Cygwin ?

0 Kudos
Artem_R_Intel1
Employee
2,754 Views

And one more question: how to run an MPI program on multiple hosts using Cygwin ?

You should just specify '-bootstrap ssh' in the MPI command line.

From the Intel® MPI Library for Windows* OS Reference Manual:

-bootstrap <bootstrap server>
Use this option to select a built-in bootstrap server to use. A bootstrap server is the basic remote node access mechanism that is provided by the system. The default bootstrap server is service.
Arguments
<arg>
Global options that apply to all MPI processes
service
Use hydra service agent. This is the default value
ssh
Use secure shell
fork
Use this option to run an application on the local node only
To enable Intel® MPI Library to use the –bootstrap ssh option, provide the ssh connectivity between nodes. Ensure that the corresponding ssh client location is listed in your PATH environment variable.

0 Kudos
ArthurRatz
Novice
2,753 Views

Thanks for your reply.

0 Kudos
Reply