- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When the attached code is built with VF 10.1, the correct results, shown below as #1, are output. When VF 11.1 is used, the incorrect output shown in #2 is obtained. Were only experiencing a problem when a function is called from within a subroutine.
Any ideas?
Thanks in advance!
#1. Intel Fortran Compiler Integration for Microsoft Visual Studio 2005, 10.1.4156.2005, Copyright (C) 2002-2008 Intel Corporation
Hello World!
returned value before READ_PARAMETER_FILE nbin - 16
returned value inside READ_PARAMETER_FILE nbin - 16 16
returned value inside READ_PARAMETER_FILE nbin - 16 16
returned value after READ_PARAMETER_FILE nbin - 16
#2. Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2005, 11.1.3466.2005, Copyright (C) 2002-2009 Intel Corporation
Hello World!
returned value before READ_PARAMETER_FILE nbin - 16
returned value inside READ_PARAMETER_FILE nbin - 2 2
returned value inside READ_PARAMETER_FILE nbin - 2 2
returned value after READ_PARAMETER_FILE nbin - 16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a bug. For some reason, the compiler "forgets" the declaration of IP_GET as REAL in the host scope. A workaround is to disable Diagnostics > Check Routine Interfaces.
I will report this to the developers. The issue ID is DPD200149612.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For whatever this is worth:- I can reproduce this on WinXP64 VS2005, IVF11.1.054 in debug mode only. The release mode gives answer same as your #1.
Abhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a bug. For some reason, the compiler "forgets" the declaration of IP_GET as REAL in the host scope. A workaround is to disable Diagnostics > Check Routine Interfaces.
I will report this to the developers. The issue ID is DPD200149612.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! We set Diagnostics -> Check Routine Interfaces to No and the software works fine.
Also, thanks for the very fast response...
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page