Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

Vectorization Lab Fortran Problem

$
0
0

Hi,

i downloaded Intel Vectorization Lab Session (Fortran Version) and i have a problem compiling example of elemental function (file: vectorization_elem_funct_directive.f90).

I receive this error:

[pierpaolo@imip1 vectorization_lab_Fortran]$ ifort vectorization_elem_funct_directive.f90 -o vectorization_elem_funct_directive
vectorization_elem_funct_directive.f90(121): error #6634: The shape matching rules of actual arguments and dummy arguments have been violated.   [RESULTS]
        call do_multiply( results(j*arows:(j+1)*arows-1),&
--------------------------^
vectorization_elem_funct_directive.f90(122): error #6634: The shape matching rules of actual arguments and dummy arguments have been violated.   [A]& a(k*arows:(k+1)*arows-1), b(j*brows+k))
------------^
compilation aborted for vectorization_elem_funct_directive.f90 (code 1)

If i comment interface 'do_multiply' in subroutine 'gemm', everything works fine, but i don't understand why. 

Any suggestion?

Thanks in advance

Pierpaolo


Viewing all articles
Browse latest Browse all 1347

Trending Articles