Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added the mpiexec commandline
  • Loading branch information
hpourreza authored Sep 23, 2019
commit 1fc25d2982e54cd0ada3c01a4815ee1d5466c7a3
6 changes: 4 additions & 2 deletions RunningMSMPI.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
The `mpiexec` code from MSMPI can be used to launch applications on multiple nodes. There are two ways to launch applications
The `mpiexec` program from MSMPI can be used to launch applications on multiple nodes. There are two ways to launch applications
on multiple nodes:
1. Using MS-MPI Launch Service:
* Start MS-MPI Launch Service on all the compute nodes
* Specify your compute nodes in the `mpiexec` command line (either using `hosts` or `hostfile`)
* Specify your compute nodes in the `mpiexec` command line (either using `hosts` or `hostfile`), for example:<br>
`mpiexec -hosts 2 node1 1 node2 1 -wdir c:\Tests MPIHelloWorld.exe`<br>
The above command will run the `MPIHelloWorld.exe` program on two hosts (`node1` and `node2`) using one core from each node
2. Using `spmd`:
* Run `spmd -d` on all compute nodes
* The `spmd.exe` program is availble after installation of MSMPI (in the folder pointed by the `MSMPI_BIN` variable)
Expand Down