- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcas:
- Intel® Fortran Compiler
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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 copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks! We set Diagnostics -> Check Routine Interfaces to No and the software works fine.
Also, thanks for the very fast response...
Martin
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora