PTL logo

From: Robert McWilliam (rmcw_at_[hidden])
Date: 2008-10-06 10:10:00

On Mon, Oct 06, 2008 at 05:05:53PM +0400, Виктор Тютюкин wrote:
> Ok.i will as asked again but in other form :) in the tutorial all of
> the rangs were created in command line using arguments "-n
> number_of_rangs"?but i need to create them in my programm without
> using cmd.

Do you want to have Visual Studio start your program as if you'd
launched it from a command prompt using mpiexec? If so then you can[1]
set the "Start Action" in the Debug tab to "Start External Program"
and specify mpiexec for what to start, then set the command line
arguments to "-n <number> <your program>".

Hope that helps,

[1] I make no claims about this being the Right Way, but it works for me.

Robert McWilliam rmcw_at_[hidden]

Geeks are for life, not just computer breakdowns.