Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Program is not recognized as an executable
Program is not recognized as an executable [message #151620] Fri, 19 August 2005 18:26 Go to next message
Eclipse UserFriend
Originally posted by: berend.chalmers.se

Hi,

I have an application which I succesfully imported in eclipse using CDT
(although I do not think it matters for my question). Editing and
building works fine. But when creating a run configuration I have the
following problem.

When I run the application outside of eclipse, on a linux or unix-like
OS, I run:

$ mpirun -np 1 ProjectName

where mpirun is a script which is used to distribute the application
over a number of processors (in this case np=1)m, and ProjectName is the
name of the executable. However, when I fill in C/C++ application to be:
mpirun, and the Arguments to be: -np 1 ProjectName
I get the error: Program is not a recognized executable.

How can I overcome this?

Thanks,

Berend.
Re: Program is not recognized as an executable [message #151627 is a reply to message #151620] Fri, 19 August 2005 21:30 Go to previous message
Henning Riedel is currently offline Henning RiedelFriend
Messages: 310
Registered: July 2009
Senior Member
You named it! mpirun is a script, which the debugger is not able to handle.

You might run it as external tool and attach to the process created.

Berend van Wachem schrieb:
> Hi,
>
> I have an application which I succesfully imported in eclipse using CDT
> (although I do not think it matters for my question). Editing and
> building works fine. But when creating a run configuration I have the
> following problem.
>
> When I run the application outside of eclipse, on a linux or unix-like
> OS, I run:
>
> $ mpirun -np 1 ProjectName
>
> where mpirun is a script which is used to distribute the application
> over a number of processors (in this case np=1)m, and ProjectName is the
> name of the executable. However, when I fill in C/C++ application to be:
> mpirun, and the Arguments to be: -np 1 ProjectName
> I get the error: Program is not a recognized executable.
>
> How can I overcome this?
>
> Thanks,
>
> Berend.
Previous Topic:how to debug dll under windows
Next Topic:ESQL?
Goto Forum:
  


Current Time: Tue Jul 30 21:21:20 GMT 2024

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

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

Back to the top