Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Browsing all 2746 articles
Browse latest View live

ifort 14.0.2 bug prevents scipy tests to pass

I've tried to use Intel MKL with numpy 1.8.0 and scipy 0.13.3 python packages.When I use -O2 option for ifort scipy tests in scipy.odr subpackage fails everytime.Using -O1 instead of -O2 results in...

View Article


Help with Fortran Wrapper that Interfaces with C Library

Dear Fortran Gurus,Let me begin with a disclaimer. I'm not a Fortran developer, but a library that I've written has been adopted by some parallel scientific codes written in Fortran, so I thought I...

View Article


Redistributable files for Mac OS X and Linux

Hi there,I have been using Intel's Fortran compiler for Windows for a while. The binary produced by the compiler with options OpenMP and MPI needs to be redistributed with several dynamic link...

View Article

Optimization causes array index out of bounds

I'm still testing the ffte benchmark. Running it on the host with -O3 -xAVX -openmp works flawlessly and the performance looks great. Now I wanted to use that code on the Intel Xeon Phi. So I replaced...

View Article

Recursive function and pass by VALUE optimizations

Hi all,I have some questions about the recursive functions performance in the compiler.The code is below, the performance table obtains with the compiler 14.  First column is normal, second column is...

View Article


-openmp results in easier vectorization?

Hi, I had an interesting finding when I played with the following OpenMP code: !$OMP PARALLEL SHARED(vals, N2, N1g, dF, F) PRIVATE(value, ind_offset, l0) !$OMP DO do k = ks, ke do ii = iis, iie value =...

View Article

ICE with -standard-semantics

Hi all,   I see and ICE when compiling the following code with -standard-semantics :$  ifort -standard-semantics -c ice.f90   010101_13220 catastrophic error: **Internal compiler error: internal...

View Article

Override default component initialization

Hi,I understand the following is not legal: module foo type :: bar integer :: a=53 end type type, extends(bar) :: rab integer :: a=-33333 !!! Redefine default initialization end type end moduleI think...

View Article


Functions returning arrays, derived types and the creation of temporaries.

Dear all,Consider the following situation followed up by a working test case.Let there be a derived type wrapping a multidimensional array. Let there further be a function "sum" which adds array...

View Article


Compiler not detecting missing OMP4 declare target variable

Most of the time, the compiler will complain if a global variable used in an OMP4 target region is not declared for the target (!$omp declare targt(foo))But now I had a (very big) program that compiled...

View Article

Bad performance with bitwise operations

Hello, I noticed this is noticably slower with ifort 14.0.0 than with gfortran. Is there anything to make the result run faster?  use iso_fortran_env real(real32) :: x32 integer(int64) :: t1, t2, trate...

View Article

Coarray 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 Article

Distributable 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 Article


Fixing 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 Article

Puzzle: 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 Article


MPI 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 Article

Failed 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 Article


Image may be NSFW.
Clik here to view.

Possible 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 Article

Static 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

loop 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 Article
Browsing all 2746 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>