Can anyone point me in the right direction with getting the profiler to work? I have PGVF 64bit for Windows and installed the JRE included with the PGVF installer. When I give the following commands at the command prompt, I get Java related errors when the profiler launches:
pgfortran -fast -Minfo=ccff -o myprog myprog.for
pgcollect myprog
Warning: ieee_inexact is signaling
FORTRAN STOP
target process has terminated, writing profile data
pgprof -exe myprog
java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: “0”
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at PGInitTask.done(PGInitTask.java:58)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string: “0”
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at Profile.parseFile(Profile.java:608)
at Profile.(Profile.java:768)
at Profile.(Profile.java:737)
at Jpgprof.initProfiles(Jpgprof.java:1903)
at Jpgprof.fileInit(Jpgprof.java:387)
at PGInitTask.doInBackground(PGInitTask.java:44)
at PGInitTask.doInBackground(PGInitTask.java:21)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks,
Dominic