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

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


Back to the top