Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] error in run configurations with open mpi in eclipse-kepler

Thanks,

My problem is solved. I was using a pre-built "sdm" exe that I downloaded from the ptp site. Now I built sdm exe on my system and it started working fine.


On Thu, Oct 31, 2013 at 5:50 PM, Osman Khalid <osmankhalid2005@xxxxxxxxx> wrote:
Thank you for pointing out. Now the error has been changed to a new error: "Exec format error" (Copy pasted below)


04d26cd9-cc42-4ef2-a3ca-d1bebc1137b4: FAILED
#PTP job_id=3758


--------------------------------------------------------------------------
Open MPI tried to fork a new process via the "execve" system call but
failed.  Open MPI checks many things before attempting to launch a
child process, but nothing is perfect. This error may be indicative
of another problem on the target host, or even something as silly as
having specified a directory for your application. Your job will now
abort.

  Local host:        ubuntu
  Application name:  /home/osmank/eclipse/plugins/org.eclipse.ptp.linux_7.0.3.201308151438/os/linux/x86_64/sdm
  Error:             Exec format error
--------------------------------------------------------------------------
[ubuntu:03759] 1 more process has sent help message help-orte-odls-default.txt / execve error
[ubuntu:03759] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages




I have downloaded sdm from: http://download.eclipse.org/tools/ptp/updates/kepler/ and I reading this tutorial: http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.ptp.doc.user%2Fhtml%2F06parDebugging.html to configure the parallel debug:

The program is otherwise running fine and giving output after configuring in "Run Configurations". However, the problem occurs in Debug configurations when I try parallel debugging. Simple debugging is also working fine.


I am using: Eclipse IDE for C/C++ Developers, Version: Kepler Service Release 1, Open MPI version: Open MPI: Version 1.7.3

Thank you in advance!



On Thu, Oct 31, 2013 at 5:05 PM, Joshua Strodtbeck <joshua.strodtbeck@xxxxxxxxxxxxxxx> wrote:
Looks like you've pointed your debug configuration to a directory rather than an executable, unless you're actually naming your executable x86_64.

-JPS


On 10/31/2013 01:16 PM, Osman Khalid wrote:
Hi

I want to run parallel debug in eclipse kepler, using Open MPI 7. I am getting this error, when I run after doing all the configurations:

fdbbb528-5897-4d2a-a083-3402e2c757bb: FAILED
#PTP job_id=4211

--------------------------------------------------------------------------
Open MPI tried to fork a new process via the "execve" system call but
failed.  Open MPI checks many things before attempting to launch a
child process, but nothing is perfect. This error may be indicative
of another problem on the target host, or even something as silly as
having specified a directory for your application. Your job will now
abort.

  Local host:        ubuntu
  Application name:  /home/osmank/eclipse/plugins/org.eclipse.ptp.linux_7.0.3.201308151438/os/linux/x86_64
  Error:             Permission denied
--------------------------------------------------------------------------
[ubuntu:04212] 1 more process has sent help message help-orte-odls-default.txt / execve error
[ubuntu:04212] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages


Any solution, please?



On Tue, Oct 29, 2013 at 4:18 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
Osman,

Go to the project properties (right click on the project), then C/C++ Build>Envrionment. If there are CWD and PWD variables, remove these.

Cheers,
Greg

On Oct 29, 2013, at 2:11 PM, Osman Khalid <osmankhalid2005@xxxxxxxxx> wrote:

Thank you for kind reply. I checked out the "Environment" tab, it was already blank. Still getting the same error: 

"Can't open perl script "C:/Documents": No such file or directory"

I have also checked the log file "workspace/.metadata/.log" and found this warning appearing thrice:

!ENTRY org.eclipse.egit.ui 2 0 2013-10-29 13:03:08.390
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Documents and Settings\Osman Khalid'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

Best Regards
Osman



On Tue, Oct 29, 2013 at 12:32 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
Go to the "Environment" tab on the run configuration and remove any entries that you see. Let me know if that fixes the problem.

Cheers,
Greg

On Oct 29, 2013, at 12:37 PM, Osman Khalid <osmankhalid2005@xxxxxxxxx> wrote:

I have created a simple Open MPI project from default list ("MPI Pi C Project") using eclipse-kepler and PTP tools 7 (both latest). The project builds without any errors, and if I click on run, the output is also shown. However, when I configure project through "Run Configurations", and then press on "run" button, it gives me this error:

"Can't open perl script "C:/Documents": No such file or directory".

I tried my best to find out the reason of this error. At least in the "Path" variable, there is no path that contains "C:/Documents". My project folder path is D:\cygwin\home\myfirstmpi

I am working on windows xp, with cygwin installed. The perl is also installed with cygwin, and working. Thank you in advance.

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user




_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user




Back to the top