- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: HP Fortran V8.2-104939-50H96 optimizer has a b...
Operating System - OpenVMS
1754014
Members
3783
Online
108811
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
Forums
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
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
тАО03-13-2009 11:47 AM
тАО03-13-2009 11:47 AM
HP Fortran V8.2-104939-50H96 optimizer has a bug
In a Fortran application I use embedded sql to select a record from an Oracle 10g database.
When I compile the fortran application with optimize (Default) it returns no record but it should. (sqlstate = 02000 no record found)
When I compile the same program with no optimize option it is working OK.
Has anyone else had the same problem?
All help is welcome.
I use these versions:
Database : Oracle 10gR2
Operating system : OpenVMS 8.3 on I64
PROFOR compiler : Pro*FORTRAN: 1.8.79.2.0
Fortran compiler: HP Fortran V8.2-104939-50H96
In the attachment you can find the application.
When I compile the fortran application with optimize (Default) it returns no record but it should. (sqlstate = 02000 no record found)
When I compile the same program with no optimize option it is working OK.
Has anyone else had the same problem?
All help is welcome.
I use these versions:
Database : Oracle 10gR2
Operating system : OpenVMS 8.3 on I64
PROFOR compiler : Pro*FORTRAN: 1.8.79.2.0
Fortran compiler: HP Fortran V8.2-104939-50H96
In the attachment you can find the application.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 01:11 PM
тАО03-13-2009 01:11 PM
Re: HP Fortran V8.2-104939-50H96 optimizer has a bug
It is really very very rare to find a fortran compiler bug.
99 out of a 100 times someone indicates a compiler bug, it turns out to be an application issue, for example an uninitialized variable.
Of course you may well be that 1 real bug, but honestly, the problem description while much better than the average 'it does not work', and very nicely detailed indeed, it does not sound 'solid' enough to make me think that.
Why do I say that?
First and foremost the time of submission :-)
Friday afternoon!
Anyone having worked in support will know :-)
Secondly, real bugs tend to be behind subject lines like "Please help me understand what I am doing wrong".
Finally, the reported error ... a basic SQL error, with no indication that SQL was asked the right thing. So for me, right away it is either a Pro*for or Oracle issue.. if not simply a coding error.
What I would have hoped to see to make this a solid bug indicator is a statement that the application was debugged with a breakpoint on the call into Oracle and all bind-variable values were triple checked to be binary correct.
Or rather, that is probably where the difference is between the working and failing code.
So that would take SQL out of the picture as you would have indicated an unexplainable value being passed, rather than a boring result deep down from a bad value.
So... my advice to you is to go hit the debugger, first with optimizer OFF and verify and record the exact parameters being passed to SQL. Then switch the optimizer ON, and again use the debugger setting a break on the same call into oracle and re-verify the arguments.
Spot the difference and work your way back!
An other interesting alternative might be to produce a stub-routine instead of the SQL function where all the stub routine does it print the exact arguments.
Ready to eat my words!
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 01:03 PM
тАО05-28-2009 01:03 PM
Re: HP Fortran V8.2-104939-50H96 optimizer has a bug
closed
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP