Program is not recognized as an executable [message #151620] |
Fri, 19 August 2005 14:26  |
Eclipse User |
|
|
|
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 17:30  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03792 seconds