Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ricardo_L_
Beginner
89 Views

Starting a Windows GUI Application with mpiexec

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
89 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.

Reply