PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Determining running timing problem
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
deeppow



Joined: 02 Feb 2012
Posts: 51

PostPosted: Wed May 02, 2012 8:28 am    Post subject: Reply with quote

This is what I get for my system with Sandy-Bridge, Win7 SP1 + recent updates, Intel compiler, Visual Studio 2008

Total CPU time is 4.754910480E+01 sec = 7.9248508E-01 min = 1.32081E-02 hr
Back to top
View user's profile
mkcolg



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

PostPosted: Wed May 02, 2012 8:44 am    Post subject: Reply with quote

Hi Deeppow,

Can you try removing optimization (i.e. change -fastsse to -O0)? My best guess at this point is that the section being timed is dropping below 1 second (mines at 1.5 seconds) and removing optimization will slow it down enough to be timed.

- Mat
Back to top
View user's profile
deeppow



Joined: 02 Feb 2012
Posts: 51

PostPosted: Wed May 02, 2012 9:27 am    Post subject: Reply with quote

Within VS I have to run "debugging" optimization, same as O0 I'm sure.

Same result, all zeros.
Back to top
View user's profile
deeppow



Joined: 02 Feb 2012
Posts: 51

PostPosted: Wed May 02, 2012 9:34 am    Post subject: Reply with quote

I'm wondering if there is somehow a communication problem across my storage devices. No sure why that would happen.

When I initially installed Dave (in tech support) said to install the PGI compiler on C-drive. I had already installed it on D-drive. He wasn't sure that would work but it appears to work.

My application/drive configuration is
Win7 on C-drive
VS 2008, PGI and Intel compilers on D-drive
the code is on F-drive

I have no idea why that should affect this issue but I'm grasping at straws.

Is there and environmental variable that might be needed?
Back to top
View user's profile
mkcolg



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

PostPosted: Wed May 02, 2012 12:13 pm    Post subject: Reply with quote

I high doubt the drive would have anything to do with it. I compiled your code from a network drive.

Quote:
I have no idea why that should affect this issue but I'm grasping at straws.
Same here.

Quote:
Is there and environmental variable that might be needed?
Not that I'm aware of. I'm not setting anything special.

I think next step is to swap binaries. If my binary still fails on your system or yours works on my, then it's most likely environmental. Otherwise, we need to track down what's different between our builds.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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