pgprof x64 windows problem


I’m using the PGI Fortran v11.9, with Visual studio 2008 on a windows 7 x64 platform, and I have a problem running the pgprof aplication. After it starts, I get the following Java related errors :

java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For in
put 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(
at javax.swing.SwingWorker$ Source)
at javax.swing.SwingWorker$ Sour
at Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(
Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$ Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$ Source)
at java.awt.EventQueue$ Source)
at Method)
at$1.doIntersectionPrivilege(Unknown Sour
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 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(
at Profile.(
at Profile.(
at Jpgprof.initProfiles(
at Jpgprof.fileInit(
at PGInitTask.doInBackground(
at PGInitTask.doInBackground(
at javax.swing.SwingWorker$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)

I check and set the environmental variables PGI_JAVA to c:\Program Files\PGI\win64\11.9\bin\java, but the problem remains. Can anyone help me with this.

Hi Ljuba,

I think you’re encountering a known issue due to an improperly formatted pgprof.out. The issue was fixed in our 12.0 release.

The two options here are for you to upgrade to the latest PGI version or you can manually edit the pgprof.out file to fix to the formatting issue.

  • Mat

Hi Mat,

Thank you for your quick answer. It was very helpful, since I was spending a quit a lot of time trying to solve this problem. Since I don’t plan to upgrade in 12.0 release is some time in the close future (money problem), just for my information, how complicated is to manually fix formatting issue, and is there any guide (document) in which is explained how to do this procedure.
Once again, thank you for your help.



This isn’t a standard procedure that we have documentation for. When it has been encountered in the past it was resolved via the upgrade.

Since that isn’t an option for you, can you either post the offending line from your pgprof.out file or send the pgprof.out file to with instructions to forward to donb? We will be able to get something to work for you.