[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ptp-dev] Exception encountered with performance tool integration
|
I am finally allocating some time again to the integration of our Parallel
Performance Wizard tool with PTP by way of the External Tools Framework (ETFw).
After installing what I believe to be the latest versions of the relevant
plugins with Eclipse 3.4.1, I am encountering an issue when trying to invoke a
Profile Configuration using our tool. Specifically, a null pointer exception is
thrown and the message
'Instrumenting/Building' has encountered a problem.
appears.
I'd appreciate any help in nailing down this problem. I will probably work on
getting my Eclipse setup going to build PTP itself, so I may try to track down
the problem... but I am not currently up to speed on the relevant internals.
Thanks,
-Max
I am using the following Eclipse and plugin versions:
Eclipse version 3.4.1 (build M20080911-1700)
CDT version 5.0.2.200901090802
PTP version 2.1.1.200901091901
Here are the error details from the error log:
-------
java.lang.NullPointerException
at
org.eclipse.ptp.perf.internal.PerfBuilder.initMMBuildConf(PerfBuilder.java:350)
at
org.eclipse.ptp.perf.internal.PerfBuilder.buildIndstrumented(PerfBuilder.java:123)
at org.eclipse.ptp.perf.internal.PerfBuilder.run(PerfBuilder.java:474)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-------
And this is the tool XML file I am trying to use:
-------
<?xml version="1.0" encoding="UTF-8"?>
<toolset.01>
<tool name="PPW">
<compile replace="true">
<CC command="ppwmpicc" group="ppw">
<optionpane title="PPW Compiler Wrapper" prependwith=""
enclosewith="" separatewith=" ">
<togoption label="Instrument functions"
optname="--inst-functions"
tooltip="Track all function entries and exits"
defstate="false"/>
</optionpane>
</CC>
<CXX command="" group="ppw"/>
<F90 command="" group="ppw"/>
</compile>
<execute>
<utility command="perl" group="perl"/>
<utility command="ppwrun" group="ppw">
<argument value="--output=ppw_eclipse.par"/>
<optionpane title="PPW Program Run" prependwith=""
enclosewith="" enclosevalues="" separatewith=" ">
<togoption label="Enable tracing"
optname="--trace"
tooltip="Record full program trace during run"/>
<togoption label="Trace buffer size"
optname="--trace-buffer"
tooltip="Set the trace buffer size to the specified number of bytes (most
users should not need to change this)">
<optvalue type="text" default=""></optvalue>
</togoption>
<togoption label="Collect communication statistics"
optname="--comm-stats"
tooltip="Record statistics on (explicit and implicit) communication during
program run"/>
<togoption label="Collect per-line communication statistics"
optname="--line-comm-stats"
tooltip="Record per-line statistics on (explicit and implicit)
communication during program run"
defstate="false"/>
</optionpane>
</utility>
</execute>
<analyze>
<utility type="view" command="ppw" group="ppw">
<argument value="ppw_eclipse.par"/>
</utility>
</analyze>
</tool>
</toolset.01>
-------