Openmp Static Linking
I use Intel Parallel Studio XE 2013 with Visual Studio Shell. I'm trying to compile fortran code with openmp with static linking. It compiles and produces executable. But the executable does not work...
View ArticleCompilation failure when passed-object argument follows absent optional argument
Module mytype_module !Example taken from "Fortran 95/2003 explained," by Metcalf, Reid, Cohen, Page 280; !IFORT 16.0.0 compilation fails with !"error #6074: The number of actual arguments does not...
View ArticleCompilation error #6866: Dotted string is neither a defined operator nor a...
Hello,First off, my compiler and some platform details:$ ifort --version ifort (IFORT) 16.0.1 20151021 Copyright (C) 1985-2015 Intel Corporation. All rights reserved. $ uname -a Linux tfe04...
View ArticleFortran 2016 installation: set the environment variables
I am working on Mac OS X 10.11.2, under bash.After installing Fortran 2016 I tried to set the environment variables as follows:source /opt/intel/bin/compilervars.sh intel64I obtained the following...
View ArticleError: A license for FComp is not available (-5,357).
We have installed fortran on 22Dec 2015 in our serverFortran compiler worked fine until 22Jan 2016After that we are getting error : Error: A license for FComp is not available (-5,357).ifort: error...
View ArticleDummy argument names and interface bodies
Ifort complains that the name `node` inside the interface body for `two` isn't a type. I think it is getting confused by the use of `node` as a dummy argument in the previous interface body.MODULE m...
View ArticleCompilation error #6355: This binary operation is invalid for this data type.
Hello,Again, my environment:$ ifort --version ifort (IFORT) 16.0.1 20151021 Copyright (C) 1985-2015 Intel Corporation. All rights reserved. $ uname -a Linux tfe03 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun...
View Articleinternal compiler error, ifort 16.0
The source file below produces upon compilation with ifort 16.0.0 20150815 on two slightly different parallel sandy bridge systems withifort -r8 -O2 -c compilererror.f90catastrophic error: **Internal...
View ArticleINTERFACE Needed to Communicate from Fortran to C Subroutine w/ 'typedef struct'
All,Been working for a while having 'fun' trying to port the General Polygon Clipper (GPC) Library from C to Fortran but decided it may be easier to just to call the 2-3 GPC 'C' routines I need from my...
View ArticleMemory leak in pointer
Dear All:I am trying to understand using pointer locally in fortran subroutine. That's why i wrote a simple code, where subroutine is called several times, to find out list of odd numbers from a given...
View ArticleBehavior of SIZE and ALLOCATED across coarray images
The program below shows a different behavior for SIZE and ALLOCATED across coarray images. Naively, I would assume that both work (SIZE does, ALLOCATED does not) if the only thing they do is read the...
View ArticleDeclaring size of array using non-parameters
Hello,I am working on Intel Visual Fortran 11.1 and have a question on declaring an array in a subroutine by defining the size of the array using an argument. The argument can vary each time the...
View ArticleGeneric Interface Ambiguity
The following code sample with generic assignment(=) interfaces compiles fine under Version 15.0.5.280. I just installed Version 16 and it produces an error.module test implicit none private type,...
View ArticleFortran compiler doesn't create an exe file
Hello,I installed the Intel Fortran Compiler and Microsoft Visual Studio, both in their latest version. I am having an issue with building my test program. The builder runs and says it has been...
View ArticleQuestion about Windows10 and VS2010/XE2013
I am currently using VS2010/IVF XE2013 SP1 together with Windows 8. Can anyone tell me if my programming environment will work with Windows 10 ?
View ArticleIntegration of psxe 2016 in VS2010
I am trying to use the 2016 compiler in VS 2010. Everything looks fine, it knows about the Fortran, and I can open the sample 'Hello world' project. However, when I try to compile the source file with...
View ArticleDLL Considerations
I have two DLLs that I'm interested in. Let's call them Main.dll and Plugin.dll, both written in Fortran.Plugin.dll needs to access various functions and COMMONs from Main.dll. Ok, so I added a few...
View Articleredirecting stdout from ifort 16.0.1 compiled program results in core dump
As shown below, compiling this trivial program with ifort 16.0.1 results in a binary that dumps core if its stdout is redirected to a file. Compiling the same code with ifort 15.0 results in no such...
View ArticleTranslating Visual Studio project to command line
For various reasons, I need to use the compiler at command line to compile a project that I had previously been compiling successfully in Visual Studio 2012. The Solution properties pages show several...
View ArticleWriteFile /integer_size:64 crash on Win32
Using a program like this: program main call crash() end program subroutine crash() use kernel32 integer(HANDLE) hFile integer(DWORD) iSize...
View Article