DLLEXPORT and CALL
Hello expert,A silly question, my fortran project is a Windows DLL. It exports a function called 'polyfit'. Calling the function from excel works fine. However, when I want to call this function from...
View Articleassociate contruct vs. accessing directly the type components
Hi,I am unable to compile the following code:$ ifort -c tst.f90tst.f90(27): error #6780: A dummy argument with the INTENT(IN) attribute shall not be defined nor become undefined. [AT1] call...
View ArticleHow to debug code called by another program?
I have written code that interacts with an optical analysis program via DDE. I got this working fine when I was running on a 32-bit platform. I now have to cope with the optical analysis program now...
View ArticleStep by step guide for tachyon example Inspector XE
I'm a beginner to Intel Inspector XE. I used the given sample program tachyon to start with. There is no readme file inside the tachyon folder to know the steps to follow. The advisorXE has a readme...
View ArticleOpenMP threads and cores on OS X 10.9.3
I have an OpenMP code that is compiled with ifort version 14.0.3.166 on a quad-core Macbook Pro running OS X 10.9.3. All the work is done in a simple parallel DO region, and I have not requested any...
View ArticleOpenMP FIRSTPRIVATE causes unusual behaviour
Dear Community,I'm asking your help with an OpenMP related parallelization problem. The following code is considered:PROGRAM testfpr IMPLICIT NONE INTEGER :: i, j i = 1 j = 2 CALL sub1( i, j ) END...
View ArticleSSE Instruction Generates Floating Point Exception
Hi: I've been trying to improve the robustness of our code. To that end, I enabled (maybe unmasked is the right word) floating point exceptions. However, when optimization is turned on, the code seems...
View Articlesegmentation violation
Hi.I got the following error message when I use these debugging flags: -g -check all -fpe0 -warn -traceback -debug extendedfile.28.f90: catastrophic error: **Internal compiler error: segmentation...
View Articlefortran_compilers.props
i want to add intel visual fortran compiler v11(IVF11) to installed version fortran of pscad v4.2 as i know must have change the fortran_compilers.props but i dont know about notepad programming i get...
View ArticleCannot pass variable by Value from Fortran to C
I have a problem to pass a integer value from Fortran to C.I use Visual Studio 2013 with Visual Fortran 14 and even using the declaration INTEGER(C_INT), VALUE :: myValue,the receiving C function get...
View ArticleNeed guide on project structure combining C++ main +functions with Fortran...
Please can you point me to a guide showing, in the simplest way possible, the steps required to set up a solution containing a C++ main (+ a few C++ functions) program project that calls a set of...
View ArticleO3 optimization gives incorrect results for allocatable arrays and nested loops
I experienced a problem when usign -O3 optimization on code with nested loops acting on allocatable arrays. The following shows a minimal example of my code:--->main.f90program main use norms...
View ArticleHow VS/Compiler Version Impact Executable Results?
While working on a project using different versions of both Visual Studio and the Intel compiler, we discovered that despite using identical compiler options, the executables were generating slightly...
View Articlebreak in visual studio on ifort run time warnings
Is there a way to have visual studio (2012) break on intel fortran run time warnings like:forrtl: warning (402): fort: (1): In call to I/O Write routine, an array temporary was created for argument #2
View ArticleQuestion: problems porting a 32-bit application to 64 bit (fortran libraries...
First of all, disclaimers: - Background: basic knowledge of computers, I am not a programmer.Previous knowledge of programming, building solutions, etc. -- Very very basic, close to nil. This is my...
View ArticleError with a function !
Hello,Every time I try to execute this program, it says : error #6236: A specification statement cannot appear in the executable section. Does anybody has any idea about the reason ? Thanks program FP...
View ArticleApplication still doing things after it has ended
I have an application that launches a completely separate 64-bit Intel Fortran EXE and waits for it to complete before taking control again. It all works well except that after the Fortran EXE has...
View ArticleCharacter array constructor with len=* bug?
I am running version: ifort (IFORT) 12.1.5 20120612My problem is basically that when characters are passed to a subroutine with len=*, the array constructor does not automatically take the maximum...
View ArticleFalse positives in Wininet libraries (VS 2013) ?
Hi,The release notes for XE 2013 SP1 mention that some false positives may show up when using the C++ Runtime in Visual Studio 2012: I imagine that also applies to VS 2013. Is this what I am seeing...
View Articlefortran compiler 11.1
Hello,I am a user of AVL Fire 2013.0 and I need to compile a fortran code from this program. In the AVL tutorial I have found that the compiler should be Intel visual fortran compiler for windows...
View Article