- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have just downloaded the IVF8.1 standard version. I tested my former code with the new version (which can't get a correct result in IVF8.0). Unfortunately, The problems still can't be solved. For example, it can't display the correct value of some kind of variables (showing in the figure below); its pointer still can't point to correct object, and so on. Should I change my code which runs correctly in CVF6.6?
Sincerely,
Zhanghong Tang
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're mixing Fortran 90 pointers with "Cray" (integer) pointers. This is not good and is not supported. Please rewrite the code to use one or the other for any particular object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sort-cut evaluation did occur for compilers which follow the f2c model. There were many compilers before and since which looked for ways to generate more efficient code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did not say that compilers didn't do this, just that the Fortran standard does not specify it. A compiler can certainly choose to do short-circuit if it wants, but you can't depend on it being in all compilers. CVF did not deliberately short-circuit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
re
![](/skins/images/06022F5BB6D2F28C8F102671A0F06E85/responsive_peak/images/icon_anonymous_message.png)
Reply
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