As a followup, after reading some more messages here, I looked up
window->preferences
Every single item under PTP results in an error: cannot load class
The strace of running eclipse shows eclipse loading all .jar files
related to ptp such as:
12822
stat64("/usr/local/eclipse/plugins/org.eclipse.ptp.orte.ui_1.1.0.jar",
{st_mode=S_IFREG|0644, st_size=7623, ...}) = 0
12822
open("/usr/local/eclipse/plugins/org.eclipse.ptp.orte.ui_1.1.0.jar",
O_RDONLY|O_LARGEFILE) = 4
There is no indication that ptp_orte_proxy is run, so does this
indicate a failed BUILD?
Thanks,
Jonathan
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
|