Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] building ptp perspective issues

Did you install Eclipse, or was it pre-installed on your machine? If you don't have PDE Runtime, then you've probably got the Platform Runtime rather than the SDK. This could be causing the problem, since I'm not sure we tested using just the runtime.

Greg


On Jun 8, 2007, at 3:11 PM, Jonathan Chu wrote:

Greg Watson wrote:
In your first email you said that you were getting this error:

'Problem opening perspective 'org.eclipse.ptp.ui.PTPRunPerspective'

Where were you seeing that message? In a dialog?
That error popped up in a dailog when I try to open the PTP Runtime Perspective. A similiar message pops up when I try to open the PTP Debug Perspective.

Which version of Eclipse do you have installed? Do you have CDT installed also?
Eclipse Platform
Version 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330

Downloaded through the Callipso Discovery Site
CDT Version 3.1.2.200702150621
Feature name: Eclipse C/C++ Development Tools
Feature identifier: org.eclipse.cdt_3.1.2.200702150621
Provider: Eclipse.org
File Identifier: org.eclipse.cdt_3.1.2.200702150621

You could try opening the Error Log view (Window>Show View>Other... then open PDE Runtime and double-click on Error Log). See what errors have been logged there.
I don't see PDE Runtime under the show view>Other... dialog,

Greg

Thanks for you help so far,
Jonathan

On Jun 8, 2007, at 2:29 PM, Jonathan Chu wrote:

I can't load any of the preference pages for PTP. I did not get any errors running the BUILD script. What could I be missing?

The errors are like:
plug-in org.eclipse.ptp.simulation.ui was unable to load class
org.eclipse.ptp.simulation.ui.preferences.SimulationPreferencePage

Jonathan

Greg Watson wrote:
Jonathan,

Turn on the 'launch ORTE server manually' option in Preferences>PTP>OpenRTE, then restart Eclipse. You should see a dialog with a message something like (I can't remember exactly) 'waiting for connection on port NNNNN' where NNNNN is some number. Now manually run ptp_orte_proxy, but this time with the argument '--port=NNNNN'. Let me know what happens.

Greg

On Jun 8, 2007, at 1:08 PM, Jonathan R Chu wrote:

I am fairly certain that both the OpenMPI binaries and the ptp_orte_proxy are built with the correct points to the OpenMPI lib.

Running ptp_orte_proxy I get:
proxy_svr_connect returned.
which, according to the troubleshooting section, suggests that the library paths are set correctly.

Running ldd -p on ptp_orte_proxy and omped tells me all the pointers to the OpenMproxy_svr_connect returned.PI lib files are intact. Running objdump on ptp_orte_proxy says the rpath to the library files are correct as well.

I've tried running eclipse under a wrapper that sets LD_LIBRARY_PATH to the OpenMPI lib directory and the perspective still failed to run. Is it possible that the libraries are not the problem? Is there any way to get any more debugging output from eclipse to diagnose this?

Thanks,
Jonathan

----- Original Message -----
From: Greg Watson <g.watson@xxxxxxxxxxxx>
Date: Friday, June 8, 2007 7:00 am
Subject: Re: [ptp-user] building ptp perspective issues
To: PTP User list <ptp-user@xxxxxxxxxxx>


On Jun 7, 2007, at 10:38 PM, Jonathan R Chu wrote:



----- Original Message -----
From: Clement Kam Man Chu <clement.chu@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thursday, June 7, 2007 8:47 pm
Subject: Re: [ptp-user] building ptp perspective issues
To: PTP User list <ptp-user@xxxxxxxxxxx>

Hi Jonathan,

You need to set LD_LIBRARY_PATH to /usr/local/openmpi/lib.

Is this because eclipse itself still needs to know specifically
where the library files are to run the perspective?

If this is the problem, then it's because the ptp_orte_proxy
program
(part of PTP) starts an orted (part of OpenMPI). It's probably the orted that is failing, since it was built without your extra flags,

so still needs LD_LIBRARY_PATH to be set.

Also, if you're starting Eclipse from the desktop rather than a
shell, remember that the window manager gets its environment from
somewhere other than your .bash_profile so you'll need to work out
where this to set your PATH and LD_LIBRARY_PATH correctly. If
you're
just running Eclipse from a shell then you don't need to worry
about
this.

Greg
_______________________________________________
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