Home » Archived » Test and Performance Tools Platform (TPTP) » newbie question: getting started, problems with piAgent
newbie question: getting started, problems with piAgent [message #75044] |
Sat, 24 June 2006 11:46  |
Eclipse User |
|
|
|
Originally posted by: mijason.umich.edu
I have Eclipse 3.2RC7 and the latest version of tptp installed via
the find/install tool in Eclipse. When I try to profile an
application, I get the error:
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piAgent
I've searched on the web and have not found a solution to this problem.
Can someone point me in the right direction?
|
|
|
Re: newbie question: getting started, problems with piAgent [message #75068 is a reply to message #75044] |
Sat, 24 June 2006 16:59   |
Eclipse User |
|
|
|
Jason Miller wrote:
> I have Eclipse 3.2RC7 and the latest version of tptp installed via
> the find/install tool in Eclipse. When I try to profile an
> application, I get the error:
>
> Error occurred during initialization of VM
> Could not find agent library on the library path or in the local
> directory: piAgent
>
> I've searched on the web and have not found a solution to this problem.
>
> Can someone point me in the right direction?
>
>
"on the library path" ... are you using Linux? If so, do you have your
LD_LIBRARY_PATH set to the <RAC_installation_directory>/lib?? For
Windows it would look for piAgent.dll, and that would be in the
<RAC_installation_directory>/bin with the other executables; in Linux
the libs go in the ../lib area, and LD_LIBRARY_PATH is required to find
libpiAgent.so.
If this doesn't help, tell me Platform/OS, and which of the two sites
you got the find/install tool to update from (one is the "standard
Eclipse site" under some name... the one you *want* is the Callisto
Discovery site, as 3.2RC7 is a Callisto development release).
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Re: newbie question: getting started, problems with piAgent [message #75081 is a reply to message #75068] |
Sat, 24 June 2006 18:47   |
Eclipse User |
|
|
|
Originally posted by: mijason.umich.edu
On Sat, 24 Jun 2006 13:59:57 -0700, Randy D. Smith wrote:
>
> "on the library path" ... are you using Linux? If so, do you have your
> LD_LIBRARY_PATH set to the <RAC_installation_directory>/lib?? For
> Windows it would look for piAgent.dll, and that would be in the
> <RAC_installation_directory>/bin with the other executables; in Linux
> the libs go in the ../lib area, and LD_LIBRARY_PATH is required to find
> libpiAgent.so.
>
> If this doesn't help, tell me Platform/OS, and which of the two sites
> you got the find/install tool to update from (one is the "standard
> Eclipse site" under some name... the one you *want* is the Callisto
> Discovery site, as 3.2RC7 is a Callisto development release).
I'm using Sun's JDK 1.6 beta on Linux and I grabbed TDTD from the Callisto
Discovery site. The libpiAgent.so file is in:
eclipse/plugins/org.eclipse.hyades.execution.linux.x86_4.2.0 .v200606131519
I've added this to the LD_LIBRARY_PATH and am still getting the same
results.
Thanks for your help!
|
|
|
Re: newbie question: getting started, problems with piAgent [message #75098 is a reply to message #75081] |
Sun, 25 June 2006 11:54   |
Eclipse User |
|
|
|
Jason Miller wrote:
> On Sat, 24 Jun 2006 13:59:57 -0700, Randy D. Smith wrote:
>
>
>>"on the library path" ... are you using Linux? If so, do you have your
>>LD_LIBRARY_PATH set to the <RAC_installation_directory>/lib?? For
>>Windows it would look for piAgent.dll, and that would be in the
>><RAC_installation_directory>/bin with the other executables; in Linux
>>the libs go in the ../lib area, and LD_LIBRARY_PATH is required to find
>>libpiAgent.so.
>>
>>If this doesn't help, tell me Platform/OS, and which of the two sites
>>you got the find/install tool to update from (one is the "standard
>>Eclipse site" under some name... the one you *want* is the Callisto
>>Discovery site, as 3.2RC7 is a Callisto development release).
>
>
> I'm using Sun's JDK 1.6 beta on Linux and I grabbed TDTD from the Callisto
> Discovery site. The libpiAgent.so file is in:
>
> eclipse/plugins/org.eclipse.hyades.execution.linux.x86_4.2.0 .v200606131519
>
> I've added this to the LD_LIBRARY_PATH and am still getting the same
> results.
>
> Thanks for your help!
Sorry, I'm used to using the agent controller via the separate package
(connecting to the "RAC" via localhost:10002), not as used to the IAC
(integrated agent controller... going through "local direct
connection"). Hmmm, the IAC shouldn't require the LD_LIBRARY_PATH I
didn't think. It "knows" where its agents are!
That makes me think it's the Java 1.6... I think 1.6 is JVMTI-only, and
piAgent is a JVMPI agent. If you're bound to Java 1.6, you'll probably
want to get the JVMTI tech preview (< http://www.eclipse.org/tptp >) =>
Downloads => 4.2.0 => scroll down and find the JVMTI tech preview. If
you can go to Java 1.5 instead, what you have should work.
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Re: newbie question: getting started, problems with piAgent [message #75115 is a reply to message #75098] |
Sun, 25 June 2006 13:47   |
Eclipse User |
|
|
|
Originally posted by: mijason.umich.edu
On Sun, 25 Jun 2006 08:54:26 -0700, Randy D. Smith
wrote:
> Sorry, I'm used to using the agent controller via the separate package
> (connecting to the "RAC" via localhost:10002), not as used to the IAC
> (integrated agent controller... going through "local direct
> connection"). Hmmm, the IAC shouldn't require the LD_LIBRARY_PATH I
> didn't think. It "knows" where its agents are!
>
> That makes me think it's the Java 1.6... I think 1.6 is JVMTI-only, and
> piAgent is a JVMPI agent. If you're bound to Java 1.6, you'll probably
> want to get the JVMTI tech preview (< http://www.eclipse.org/tptp >) =>
> Downloads => 4.2.0 => scroll down and find the JVMTI tech preview. If
> you can go to Java 1.5 instead, what you have should work.
Well, I reverted to Java 1.5 and freshly installed Eclipse 3.2RC7 with
tptp via the install/update tool. It seems like Eclipse is still giving
me the error:
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piAgent
Is there anything else that I should try?
Thanks again.
|
|
| |
Re: newbie question: getting started, problems with piAgent [message #75148 is a reply to message #75115] |
Sun, 25 June 2006 19:57   |
Eclipse User |
|
|
|
Jason Miller wrote:
> On Sun, 25 Jun 2006 08:54:26 -0700, Randy D. Smith
> wrote:
>
>
>>Sorry, I'm used to using the agent controller via the separate package
>>(connecting to the "RAC" via localhost:10002), not as used to the IAC
>>(integrated agent controller... going through "local direct
>>connection"). Hmmm, the IAC shouldn't require the LD_LIBRARY_PATH I
>>didn't think. It "knows" where its agents are!
>>
>>That makes me think it's the Java 1.6... I think 1.6 is JVMTI-only, and
>>piAgent is a JVMPI agent. If you're bound to Java 1.6, you'll probably
>>want to get the JVMTI tech preview (< http://www.eclipse.org/tptp >) =>
>>Downloads => 4.2.0 => scroll down and find the JVMTI tech preview. If
>>you can go to Java 1.5 instead, what you have should work.
>
>
> Well, I reverted to Java 1.5 and freshly installed Eclipse 3.2RC7 with
> tptp via the install/update tool. It seems like Eclipse is still giving
> me the error:
>
> Error occurred during initialization of VM
> Could not find agent library on the library path or in the local
> directory: piAgent
>
> Is there anything else that I should try?
>
> Thanks again.
>
You're sure the Eclipse is "seeing" the 1.5 JVM, right?
You're on Linux, but what platform? If we're dealing with Intel IA32,
I'm terribly confused as to what is wrong. If you're on a 64-bit
platform, then we're seeing a mismatch in libraries due to support not
being there!
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
| |
Re: newbie question: getting started, problems with piAgent [message #75183 is a reply to message #75081] |
Mon, 26 June 2006 12:16   |
Eclipse User |
|
|
|
Jason,
The current TPTP Profiler supports what is the JVMPI interface.
This JVMPI interface is not supported in Java 1.6, it is supported for
compatibility in Java 1.5.
Java 1.5 and 1.6 have a new interface for profiling and is called JVMTI.
The "New Java Profiler" offered as a technology preview supports the
JVMTI interface and has been validated against Java 1.5 based VM's. The
new java profiler has not been validated against Java 1.6 - we plan on
validating the New Java profiler in the upcoming releases.
-Guru
Jason Miller wrote:
> On Sat, 24 Jun 2006 13:59:57 -0700, Randy D. Smith wrote:
>
>> "on the library path" ... are you using Linux? If so, do you have your
>> LD_LIBRARY_PATH set to the <RAC_installation_directory>/lib?? For
>> Windows it would look for piAgent.dll, and that would be in the
>> <RAC_installation_directory>/bin with the other executables; in Linux
>> the libs go in the ../lib area, and LD_LIBRARY_PATH is required to find
>> libpiAgent.so.
>>
>> If this doesn't help, tell me Platform/OS, and which of the two sites
>> you got the find/install tool to update from (one is the "standard
>> Eclipse site" under some name... the one you *want* is the Callisto
>> Discovery site, as 3.2RC7 is a Callisto development release).
>
> I'm using Sun's JDK 1.6 beta on Linux and I grabbed TDTD from the Callisto
> Discovery site. The libpiAgent.so file is in:
>
> eclipse/plugins/org.eclipse.hyades.execution.linux.x86_4.2.0 .v200606131519
>
> I've added this to the LD_LIBRARY_PATH and am still getting the same
> results.
>
> Thanks for your help!
|
|
| |
Re: newbie question: getting started, problems with piAgent [message #75250 is a reply to message #75165] |
Tue, 27 June 2006 02:32  |
Eclipse User |
|
|
|
Jason,
Early tests we have performed with the JVMTI Profiler on Sun JRE 1.6.0
Beta 2 have shown that there are some issues. Note, however, that Java 6
is currently is a "beta" phase and therefore may have other issues which
are not related to the JVMTI profiler itself.
I will open an Enhancement Request for adding Java 6 support to TPTP.
In the meantime, use Java 5 to work with the TPTP profilers (both JVMPI
and the JVMTI profilers).
Best regards,
Asaf
|
|
|
Goto Forum:
Current Time: Fri May 09 19:55:01 EDT 2025
Powered by FUDForum. Page generated in 0.03628 seconds
|