Support for Intrinsic EXECUTE_COMMAND_LINE
Dear Intel team,Is there a roadmap for supporting further Fortran 03/08 intrinsics such as EXECUTE_COMMAND_LINE? I am working on a project right now that is supposed to be 100% standard compliant (up...
View Articleinterdependence of indices in DO CONCURRENT
The following DO statement compiles on IFORT 13.1.3.198 [IA-32]: DO CONCURRENT (i = 1:SIZE(arr1d), j = 1:i-1) According to the F08 draft (N1830), C739 it is not permitted toreference to any index-name...
View ArticleCoarray type with an allocatable component of length zero
I get a SIGSEGV when running the following code type t real, allocatable :: a(:) end type t type(t) :: data[*] allocate(data%a(0)) print*, size(data[1]%a) end program If, instead of the last line...
View ArticleCrashing of the program (matrix 500 x 500)
Good day, In the main subroutine is declared a matrix size of 500 times 500. This matrix is transferred to the subroutine Set_null. In the subroutine Set_null I want another matrix (matrix_work) of the...
View ArticleDistributable binary for Mac OS X
Hi there,I am using the latest Intel fortran composer on Mac OS X (10.9.2) to compile my code, with commandifort -O1 -ip *.f90The binary generated, a.out, works fine on my Mac. However, when my...
View ArticleFixing multiplicity of common blocks in library
Can identical common blocks of mutually exclusive subroutines be merged within a library? Current results show multiplicity. I modified a Fortran 77 package to use common blocks in lieu of internally...
View ArticleDeep copy of unlimited polymorphism
I would like clone (deep copy) instance of some object to unlimited polymorphic object.I am using sourced allocation but it does not do a deep copy. I have tried to overload assignment operator on type...
View ArticlePuzzle: changing the order of outer loops leads to significant performance...
Hi, I have a puzzling finding that changing the order of the outer loops led to significant performance increase. I am playing with the following two versions of a small code piece:Version 1: ii, k, j,...
View ArticleMPI application portable?
Hi there,My fortran code uses MPI, with all MPI lines prefixed with !$ for conditional compilation. Compiling the code using ifort on a Linux cluster, with command lines:ifort -O2 -ip -ipo...
View ArticleCode style question: Multiplication vs. powers of 2 or 3
I have a colleague who insists on writing code such as this :!-----calculate Grashof numbers --------------grashm = G * betam * dt * (L*L*L) * (denm*denm) / (vism*vism) ! fluid mean grashl = G * betal...
View ArticleOpenMP + Optimization (/O2 or /O3) causes floating overflow
Hi,I have a strange (to me) problem. In a big project, with OpenMP enabled by default. In this project, I have 2 modules: A and B, where module A uses module B.Module B do not have any OpenMP...
View ArticleFailed on compilation of WRF3.5.1 by ifort
Hello,I'm a postdoctoral in Thailand. I wanna use WRF for my research but I tap on the errors of installation. I have a problem when I am trying to compile em_real case on Linux_x86_64, RHEL 5 (Centos,...
View ArticleProblem with Visual Studio for Interoperate Fortran code and C code
Hello to everybody,I have to interoperate a C code with a Fortran Code, under Visual Studio 2010 with Intel Fortran and Intel C/C++.As suggested inside this forum I create 2 projects; 1 for Fortran...
View ArticlePossible Vectorization Issue in 14.0.1
Hello All,I'm having an issue with a port from ifort 11.1 32-bit to 14.0.1 64-bit on a Linux platform. In the test case I've attached, the 11.1 compiler with -vec-report3 reports for line 35:...
View ArticlePassing Scalar to Array and Vice Versa
Hi - I have some old code that passes scalars to functions with arrays for the dummy arguments (other parts of the code pass arrays to arrays).For example: real a,b a = 3 call FUNC([a],[b],1) real FUNC...
View ArticlePerformance BKMs: Introduction and Super-secret Intel Tools
At SC13 (Super Computing 2013)*, someone commented that Intel seems to have some super-secret set of tricks in its pocket, allowing us to optimize “far beyond those of mortal man”+. We don’t really...
View ArticleStack overflow and memory allocation error
I’ve recently started working with a f77 source code which comes with 11 subroutines. This code is pretty old and others who have used this code in the past say that it worked perfectly when using...
View ArticleDiagnostic 15003: PARTIAL LOOP WAS VECTORIZED (Fortran)
Cause:This message is emitted when only part of the loop body is vectorized. The loop is distributed (divided) into two loops, one of which is vectorized and one of which is not.Example:subroutine...
View ArticleSetting a conditional breakpoint 101
Hello all. At long last, I have found it necessary to use one of ComposerXE's features that's supposed to let you set a breakpoint and run until some variable reaches a set value. In this case, the...
View ArticleStatic array of procedure pointers
Hi,I am trying to construct a static array of procedure pointers like this: abstract interface function USERFUNC_int (arg) integer USERFUNC_int integer, intent(IN) :: arg end function USERFUNC_int end...
View Article