OpenMP + 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 ArticleBuilding a Native Application for Intel® Xeon Phi™ Coprocessors
IntroductionSome applications are well suited for running directly on Intel® Xeon Phi™ coprocessors without offload from a host system. This is also known as running in “native mode.” The purpose of...
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 ArticleIntel Software presente no ERAD-RS 2014
A 14a Escola Regional de Alto Desempenho do Estado do Rio Grande do Sul (ERAD-RS 2014) aconteceu entre os dias 18/03/2014 e 21/03/2014 no Campus Alegrete da Universidade Federal do Palma (UNIPAMPA).A...
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 Articlecopy an array section within an array without temporary copy
I have some medium sized 3d arrays (approx 500x500x10) for which I sometimes need to copy a section of the array to a different (non-intersecting) section of the same array. E.g.: a(:,:,1:3) =...
View Articleloop with integer to real qp Internal compiler error
Hi ,I have internal compiler error with the following code, trying to convert from int to quadruple precision inside a loop with at least -O2 . Compiler version 14. It works with double...
View ArticleBaseline performance of non-vectorized code: '-no-vec' or ' -no-vec -no-simd' ?
Hi,I am trying to have a baseline performance of the non-vectorized version of the following code:1532 do k = ks, ke 1533 do ii = iis, iie 1534 value = vals(ii) 1535 do j = js, je 1536 offset_1 = (...
View ArticleDiagnostic 15042: pragma supersedes previous setting
Cause: This diagnostics message comes when the parameters of the directive are contradictory. In the example below, the directive !dir$ loop count has two clauses, avg() and max(). Notice the...
View ArticleDiagnostic 15023: loop was not vectorized: unsupported loop structure
Cause: This vectorization message is emitted when there are multiple exit points from a given loop. Below is an example for this scenario. Here the DO loop has a conditional in which it's possible to...
View ArticleDiagnostic 15143: loop was not vectorized: loop was transformed to memset or...
Cause: When a code contains a loop or array syntax performing a simple initialization or a copy, the compiler may replace the loop with a function call to either set memory (memset) or copy memory...
View ArticleOpenMP and polymorphic entities
Consider this simple program:program OpenMP_and_class implicit none type link_t integer :: id end type link_t type link_element_t type(link_t), allocatable :: element end type link_element_t type...
View ArticleOpenMP parallel loop crashes (?)
Hello everybody,I am trying to make the section of my code to run parallel:.... EL=0.0d0 !$OMP parallel DO SHARED(S,COUL) PRIVATE(I1,J1,ID,JD) reduction(+:EL) DO J1=1,NY DO I1=1,NX IF...
View Article