- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fortran 90 runtime range checking array subscripts
Operating System - HP-UX
1820389
Members
3544
Online
109623
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 02:03 PM
09-25-2008 02:03 PM
Fortran 90 runtime range checking array subscripts
Using the compile flag +check=all, Fortran 90 on HPUX 11.11 (B11.11.93) would trap and abort on array subscripts out of range,and point to the correct source line:
"FORTRAN RANGE ERROR 950: SUBSCRIPT, SUBSTRING, OR PARAMETER OUT OF BOUNDS AT LINE NUMBER 8".
But the same code and compile option with HP-UX f90 B.11.31.03 (Itanium(R)-based host and target) gives only the warning
*** FORTRAN RANGE ERROR 950: SUBSCRIPT, SUBSTRING, OR PARAMETER OUT OF BOUNDS in file at line 1556 in arra with dimension 33487"
and does not abort. See the attached code sample. Is there any way to bring back the "abort on array subscript out-of-bound" on Fortran 90 for HP-UX 11.31? Thanks!
"FORTRAN RANGE ERROR 950: SUBSCRIPT, SUBSTRING, OR PARAMETER OUT OF BOUNDS AT LINE NUMBER 8".
But the same code and compile option with HP-UX f90 B.11.31.03 (Itanium(R)-based host and target) gives only the warning
*** FORTRAN RANGE ERROR 950: SUBSCRIPT, SUBSTRING, OR PARAMETER OUT OF BOUNDS in file at line 1556 in arra with dimension 33487"
and does not abort. See the attached code sample. Is there any way to bring back the "abort on array subscript out-of-bound" on Fortran 90 for HP-UX 11.31? Thanks!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 10:10 PM
09-25-2008 10:10 PM
Re: Fortran 90 runtime range checking array subscripts
I don't see any code to abort. All calls to FTN_RANGE_ERR just return.
You'll need to contact the Response Center with your enhancement request.
Using +check= with aC++ or C will continue after each error but then abort at the end so you can see all of your errors. But it is customizable (RTC_NO_ABORT) to abort on the first.
You'll need to contact the Response Center with your enhancement request.
Using +check= with aC++ or C will continue after each error but then abort at the end so you can see all of your errors. But it is customizable (RTC_NO_ABORT) to abort on the first.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP