Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ArthurRatz
Black Belt
170 Views

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

Jump to solution

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
170 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

5 Replies
Artem_R_Intel1
Employee
170 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).

ArthurRatz
Black Belt
170 Views

Thanks for your reply.

ArthurRatz
Black Belt
170 Views

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

Artem_R_Intel1
Employee
171 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

ArthurRatz
Black Belt
170 Views

Thanks for your reply.

Reply