Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Re: mpirun with arguments
Re: mpirun with arguments [message #1705216] Wed, 12 August 2015 21:06
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/12/2015 02:47 PM, Ganesh Diwan wrote:
> Hello forum
> I am new to eclipse and I am trying to run my cpp program with mpirun.
> Firstly, I can run the executable without any trouble when I launch it
> without mpi as
> /my_prog arg1 arg2 arg3
> For mpirun, I create a debug configuration with "/usr/bin/mpirun" in my
> C/C++ application and arguments as "np -4 my_prog arg1 arg2 arg3" (both
> of these without the quotes). However I stop with error as I see argc <
> 2 indicating my arguments are not being read completely when using
> mpirun. What is the correct format to get the arguments, name of the
> executable etc when using mpirun in the debug configuration?
> Thanks in advance.

You might post, as suggested by the sticky posts at forum's top, in the
Eclipse CDT forum.
Previous Topic:tomcat
Next Topic:mongodb-java connection
Goto Forum:

Current Time: Sat May 30 22:59:38 GMT 2020

Powered by FUDForum. Page generated in 0.03154 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top