| View previous topic :: View next topic |
| Author |
Message |
Dolf
Joined: 22 Mar 2012 Posts: 78
|
Posted: Thu Jan 17, 2013 11:10 am Post subject: RE |
|
|
| Quote: | | Can you track down which "log" call is throwing this exception? |
how can I look into the log?
| Quote: | | you should look at what value is being passed to log and how the results are being used. |
??
thanks
Dolf |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Jan 17, 2013 6:05 pm Post subject: |
|
|
This is a call to a double precision logarithmic (log) function. You need to determine which call to the log function is getting the floating point exception.
- Mat |
|
| Back to top |
|
 |
Dolf
Joined: 22 Mar 2012 Posts: 78
|
Posted: Fri Jan 18, 2013 6:21 pm Post subject: |
|
|
Hi Mat,
for some reason I can't set break point in one of the subroutines which I highly suspect that there is something not right going there, since if I comment it out, everything goes well.
do you have any idea why PGDBG engine can't reach this sub? it just freez before reaching it.
Dolf |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Jan 21, 2013 7:52 am Post subject: |
|
|
Hi Dolf,
Since "ftm_i_dlog" is an internal name to the PGI runtime, you can't break on it. Instead, you need to break at the line in your code containing the call to "log". If this is what you are trying to do, do you have optimization enabled? Optimization can move code around. Try building with only "-g" enabled.
- Mat |
|
| Back to top |
|
 |
Dolf
Joined: 22 Mar 2012 Posts: 78
|
Posted: Wed Jan 23, 2013 12:55 pm Post subject: RE: |
|
|
Hi Mat.
a hardware team from NVIDIA invited me to test drive there latest Tesla K20m cards on one of their windows 7 machines.
I need your help to guide me how to play with the compiler options and/or the block and grid dimensions in my code to get the full speed improvement.
remember that I have GeForce 460 v2 card, and I am using (as you suggested) a block size of (16,16,1).
many thanks.
Dolf |
|
| Back to top |
|
 |
|