Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
27535 Discussions

Error #8770: The RANK intrinsic function is not a part of Fortran 2008.

nDS
Novice
199 Views

It is my current understanding that F2008 does indeed have a RANK intrinsic function.  Is this error message a bug, or am I incorrect?  I am using intel 19 on a linux machine.  Thanks.

0 Kudos
1 Solution
andrew_4619
Honored Contributor II
185 Views

The rank intrinsic is in Technical Specification 29113 which is 2012 but adds to F2008 which is 2010 (in ISO publish date speak).  So maybe that message is correct. I presume F2018 stand gives no error. So either use F2018 or switch off error #8770 for the relevant source file(s) or project(s).

View solution in original post

2 Replies
andrew_4619
Honored Contributor II
186 Views

The rank intrinsic is in Technical Specification 29113 which is 2012 but adds to F2008 which is 2010 (in ISO publish date speak).  So maybe that message is correct. I presume F2018 stand gives no error. So either use F2018 or switch off error #8770 for the relevant source file(s) or project(s).

Steve_Lionel
Black Belt Retired Employee
174 Views

RANK is new for F2018. As Andrew says, it is part of the Technical Specification for Further C Interoperability, approved in 2012, and Intel Fortran has supported it since version 16, but it did not become part of the standard until Fortran 2018. Therefore, the message is correct when asking for F2008 standards checking.

Reply