PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

iso_fortran_env integer and real variable kinds

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



Joined: 19 Apr 2011
Posts: 12

PostPosted: Wed May 25, 2011 7:47 pm    Post subject: iso_fortran_env integer and real variable kinds Reply with quote

I want to use the intrinsic iso_fortran_env module to get the int8, int16, int32, int64, real32, real64 kind values. For example:

Code:
use, intrinsic :: iso_fortran_env, only: int64

integer  (kind=int64), parameter :: huge64 = huge(1_int64)


I get the following error with PGI Fortran 11.5:
PGF90-S-0084-Illegal use of symbol int64 - not public entity of module

Any tips?
Back to top
View user's profile
DavidBal81101



Joined: 19 Apr 2011
Posts: 12

PostPosted: Wed May 25, 2011 8:09 pm    Post subject: Reply with quote

I just learned that the variable kinds are Fortran 2008, not Fortran 2003. Do you know when they will be supported by PGI?
Back to top
View user's profile
mkcolg



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

PostPosted: Thu May 26, 2011 8:51 am    Post subject: Reply with quote

Hi David,

Our engineers are finishing up F2003 right now (fixing bugs) and will then turn there attention to F2008. No firm time line yet but they'll most likely start with these easy ones. Co-arrays will be awhile though.

Though, these seem like they would be extremely easy to add. I just submitted a feature request (TPR#17879) and hopefully engineering can add them soon.

- Mat
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 438

PostPosted: Fri Jan 24, 2014 3:14 pm    Post subject: 17879 - Feature request: Add F2008 kind values to iso_fortra Reply with quote

TPR 17879 has been fixed in the current 14.1 release.

thanks,
dave
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 © phpBB Group