Intel® Fortran Compiler for Linux* and Mac OS X*

-heap-arrays flag - does it work?

Hi all.

If I compile the following program with

ifort -m32 -heap-arrays test.f

the array in mytest2() is allocated on the heap, but the one in mytest() is not. According to the documentation, the -heap-arrays flag should put all automatic arrays on the heap. Am I misunderstanding the documentation? Is there a way to force the array in mytest to be allocated on the heap instead of on the stack or in static data?

Regards,

Mark

line break in formatted output

Hi

this code

write(CSTmp,"(I0)") size(this%RVPEffSize)
CSFormat="("//Trim(AdjustL(CSTmp))//"(1X,F20.10))"
write(this%ISOutputUnitEff,CSFormat,iostat=ISSubStat,iomsg=CSMsg)&
&(this%RVPEffSize(c1),c1=1,size(this%RVPEffSize))

is supposed to write the content of "this%RVPEffSize" into a single line of the file. It does so until "size(this%RVPEffSize)" is 51422. For larger sizes, a new line is inserted.

Is that intended or a bug or related to the operation system???

Thanks

Karl

ifort 14, ubuntu 14.04

ifort v15.0.2 could not pass fortran_2003_iee_test

Hi all,

I compiled this file with following commands:

ifort fortran_2003_ieee_test.F

And the error is:

fortran_2003_ieee_test.F(39): error #6503: This keyword is invalid for this intrinsic procedure reference.   [UNIT]
      CALL FLUSH (UNIT=6)
------------------^
compilation aborted for fortran_2003_ieee_test.F (code 1)

Here's the code:

      PROGRAM fortran_2003_test         

      USE , INTRINSIC :: IEEE_EXCEPTIONS

      IMPLICIT NONE

File I/O Overhead at Intel Fortran 13 and Higher Versions

Hi!

I encounter the I/O performance drop at Intel compiler version 13 and onwards. The MPI code operates a simple read from the mesh file in the following way:

      READ(IUNIT,IOSTAT=IOSTAT) &
           ((FOO,ISIZ=1,NS),IDIM=1,DL-1), &
           ((FOO,ISIZ=1,SL-1), &
           (DATA(ISIZ-SL+1,IDIM-DL+1),ISIZ=SL,SU), &
           (FOO,ISIZ=SU+1,NS), &
           IDIM=DL,DU), &
           ((FOO,ISIZ=1,NS),IDIM=DU+1,ND)

Linking against acml

Hi there,

I am running into problems linking against acml 5.3.1 with ifort 14.0.1

while "gfortran -o TestACML TestACML.f90 -L /opt/acml5.3.1/gfortran64_int64/lib/" compiles without error,

"ifort -o TestACML TestACML.f90 -L/opt/acml5.3.1/ifort64_int64/lib/" produces:

Subscribe to Intel® Fortran Compiler for Linux* and Mac OS X*