PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

About library functions such as 'eoshift' and 'isnan' in PVF

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
HuWei39533



Joined: 06 Dec 2012
Posts: 7

PostPosted: Tue Jun 04, 2013 10:14 pm    Post subject: About library functions such as 'eoshift' and 'isnan' in PVF Reply with quote

When I use library functions such as 'eoshift' and 'isnan' in PVF, errors occured. But in intel fortran compiler, no errors occured.

PVF does not support these library functions ?
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jun 05, 2013 9:06 am    Post subject: Reply with quote

Hi HuWei39533,

"isnan" is a C99 external routine and not part of Fortran. I would highly recommend using the standard F2003 method of using the "ieee_arithmetic" module, and then calling the routine "ieee_is_nan".

The "eoshift" intrinsic is part of the F95 standard and is supported by PVF. What error are you getting? Can you post a simple reproducing example?

Thanks,
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
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 © 2001, 2002 phpBB Group