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

Messing with POINTERS and ALLOCATABLE dimensions

I'm working with this code which basically allocates and deals with arrays of multiple kinds and dimensions, e.g. SUBROUTINE calc_real_2(u) REAL, ALLOCATABLE, INTENT(INOUT) DIMENSION(nx,ny) :: u . . ....

View Article


error #5462: Global name too long with ifort 15.0.2

Hello,I'm attempting to compile some Fortran code with ifort 15.0.2. The compilation fails with:algorithm/psy_dynamo_algorithm_rk_timestep_mod.f90(1): error #5462: Global name too long, shortened from:...

View Article


Performance of derived type function call

Hi,In the following simple code, where the operator .lt. is used a lot of times, i found that ifort is slower than gfortran by a factor of 2. First i thought it was the handling of the class(*) but in...

View Article

performance degradation with ifort 15.0.2

Hi,Previously I built my program with ifort 14.0.1 + impi 4.1. Recently, after switching to ifort 15.0.2 + impi 5.0, my program runs ~30% slower on one SandyBridge core. I keep the compiler options the...

View Article

Array Vs pointer and loop parameter optimization

Hi,I have an optimization question regarding the following code, that does a 'findloc',  It appears that for ifort the do loop parameter change the optimization, and passing an pointer instead of the...

View Article


compilation with mpiifort - error not found MPI_CHAR type

Hello,I try to install a code on a HPC under Linux.My command line is :mpiifort -I./INC/ -I$HOME/MARSLIB/usr/mpi/include/ -module $HOME/MARS/COMPILE_MARS/WTEST-BIDON/OBJETS/ -O2 -i4 -r8 -ftz -fpe0...

View Article

ifort creates empty ~/intel/ism/rm

Whenever I run ifort it creates an empty directory tree "~/intel/ism/rm". I found https://software.intel.com/en-us/forums/topic/509368 forum thread from a year ago where Steve Lionel claims this should...

View Article

Getter functions for arrays

Hi,I wonder if there exists an easy way to implement a getter function for an array valued attribute?For instance, one has a derived item, for example the extensions of a process grid (pgrid). As this...

View Article


compatibility

The Compatibility of Intel Compiler for OS X and Xcode indicates Intel Composer XE 2013 SP1 is not compatible with OS X version 10.10.  Really?  This software is 2 years old and cannot be used anymore?...

View Article


Compiler runs into problem compiling F77 code

I'm trying to compile Fortran 77 code (T-matrix code) on a Linux system using Intel Parallel Studio XE 2015 for Fortan and I have the recurring problem of too many errors.I'm using: ifort...

View Article

Image may be NSFW.
Clik here to view.

Intel 14 and 15 compiler bug

I've attached a very small example that exposes a bug in 14.0.3 and 15.0.2.  In the example, a module declares a derived type and a F2003 structure constructor for it.  In a later procedure the module...

View Article

Image may be NSFW.
Clik here to view.

Bad results from assignment to allocatable array (with realloc_lhs)

I've attached a small example that clearly demonstrates that bad results are obtained from assignment to an (unallocated) allocatable array.  I am using the required realloc_lhs switch.  The problem...

View Article

Complex logarithm

Hello all,according to the "Intel Fortran Libraries Reference", the natural logarithm of a complex number should give complex values x+i*y with -pi < y <= pi. But:write(*,*)...

View Article


Coarray implementation of QR decomposition?

I am wondering if there exists a coarray implementation of the QR decomposition somewhere, in library or source form. We are probably years away from a true coarray implementation of LAPACK, for...

View Article

cannot find 'ifort' after installing parallel_studio_xe_2015_update3 on ubuntu

I am an university student. I have just downloaded and installed the parallel_studio_xe_2015_update3. But in the directory '/opt/intel/composer_xe_2015/bin', I only find 'icc', but not 'ifort'. Have I...

View Article


FORTRAN: Opening and reading data from a network location

I am trying to run a simulation using FORTRAN. I have large input data at server A and I want to read input files from server A and run my simulation on server B. I am using a FORTRAN subroutine to...

View Article

Fortran Wavelet Transforms

Hey guys, I am trying to find some online library or code that computes Daubechies wavelet coefficients, for image processing purposes (horizontal, vertical and diagonal detail coefficients). Is there...

View Article


Image may be NSFW.
Clik here to view.

Problems with pack intrinsic function: catastrophic error and bad results

I noticed that the subroutine sprsin in numerical recipes produces catastrophic error if compiled with ifort 15. The problem seems due to the linesa%jcol=pack(spread(arth(1,1,n),1,n),mask)It is...

View Article

Data passing w/ mixed programming f2008+python.

I would like to have your suggestions for the following task.I'm developing a F2008 code that has to call a python script (specifically a special function in the mpmath lib) which will generate an...

View Article

WRF 3.7 / catastrophic error: **Internal compiler error: segmentation...

Hi,The following error has been reported by the compiler while compiling the file module_bl_temf.F (WRFV3/phys/module_bl_temf.F) from WRF V3.7 (http://www2.mmm.ucar.edu/wrf/src/WRFV3.7.TAR.gz) model...

View Article
Browsing all 2746 articles
Browse latest View live