PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgprof x64 windows problem

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
ljubab



Joined: 15 Nov 2012
Posts: 7

PostPosted: Tue Dec 04, 2012 4:41 am    Post subject: pgprof x64 windows problem Reply with quote

Hi,

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<undefined>"
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 Sour
ce)
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.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
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<undefined>"
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.<init>(Profile.java:768)
at Profile.<init>(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.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown 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.
Thanks,
Ljuba.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6125
Location: The Portland Group Inc.

PostPosted: Tue Dec 04, 2012 1:19 pm    Post subject: Reply with quote

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
Back to top
View user's profile
ljubab



Joined: 15 Nov 2012
Posts: 7

PostPosted: Wed Dec 05, 2012 1:38 am    Post subject: Reply with quote

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.

Ljuba
Back to top
View user's profile
donb



Joined: 20 Jul 2004
Posts: 88
Location: The Portland Group, Inc.

PostPosted: Wed Dec 05, 2012 10:29 am    Post subject: Reply with quote

Ljuba,

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 trs@pgroup.com with instructions to forward to donb? We will be able to get something to work for you.

--Don
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group