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

Starting a Windows GUI Application with mpiexec

Ricardo_L_
Beginner
668 Views

I am trying to launch a windows GUI application which itself spawns one or more mpi applications.

The intention is to form an inter-communicator that allows the spawned mpi processes to communicate with the Window GUI application (as mpi rank 0 within the shared communicator).

The processes are started and they seem to be running, but the GUI does not show.

Is there a solution to this or an alternate method recommended?

Thanks,

 

0 Kudos
1 Reply
Klaus-Dieter_O_Intel
668 Views

Launching a GUI application under Intel MPI on Microsoft Windows* requires the flags "-localroot" or "-localonly". A simple check with non-MPI programs is:

mpiexec[.spmd] -localroot -np 1 notepad.exe : -n 4 hostname
mpiexec -localonly -np 1 notepad.exe : -n 4 hostname

Please notice the help information from "mpiexec -help".

The flags are described at https://software.intel.com/en-us/node/528868
The full MPI documentation (also in PDF) is available at https://software.intel.com/en-us/articles/intel-mpi-library-documentation.

0 Kudos
Reply