PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

OpenAcc + stop : Warning: ieee_inexact is signaling ?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
escj



Joined: 30 Sep 2009
Posts: 63
Location: Laboratoire d'Aérologie, Toulouse, FRANCE

PostPosted: Wed Sep 24, 2014 9:44 am    Post subject: OpenAcc + stop : Warning: ieee_inexact is signaling ? Reply with quote

Hello .

A strange WARNING generate by the STOP statement after a simple OpenAcc kernels
( or any other statement a suppose ? )

Same warning for pgi/13.10 & pgi/14.9

Code:

PROGRAM titi

  REAL :: a(10000)

  !$acc kernels
  a(:) = 1.0
  !$acc end kernels

  print*,'a=', a(1)

  stop

END PROGRAM titi


Quote:

> pgf90 --version

pgf90 13.10-0 64-bit target on x86-64 Linux -tp nehalem

> pgf90 -ta=nvidia:cuda5.5 simple_acc.f90 -o simple_acc

> ./simple_acc
a= 1.000000
Warning: ieee_inexact is signaling
FORTRAN STOP


Without the STOP statement , or on the HOST the warning disappear ??

Quote:

> ./simple_acc
a= 1.000000


Bye

Juan
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Sep 25, 2014 3:15 pm    Post subject: Reply with quote

Hi Juan,

As of the F2003 standard, STOP is required to print out any exception that may have occurred. You can disable this message by setting the environment "NO_STOP_MESSAGE=1".

As for the message itself, many types of floating operations may trigger an "inexact" exception. In this case it's an integer to real conversion and is benign.

Hope this helps,
Mat
Back to top
View user's profile
escj



Joined: 30 Sep 2009
Posts: 63
Location: Laboratoire d'Aérologie, Toulouse, FRANCE

PostPosted: Mon Sep 29, 2014 2:53 am    Post subject: Reply with quote

Hello Mat :-)

Ok the message is benign.

But is completely wrong .

;-) Where did you see an integer to real conversion in :

a = 1.0

The original test case was much bigger and I couldn't find on this where I was doing
inexact operations on the GPU .

The answer is , no where .
The compiler or acc translator is issuing the message for a wrong reason ...

Bye

Juan
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming 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