Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

composer not talking to MKL

cygnetmama
Beginner
303 Views

Hi, my IT department recently rebuilt my computer with a Windows 8 OS and an installation of Intel Composer XE 2015 and Visual Studio 2013.  I opened a command window using the icon labeled "Intel 64 Visual Studio 2013 mode," changed directories so that I was in "C:\Program Files (x86)\Intel\Composer XE 2015\mkl\bin", and ran the following line:  "mklvars intel64 mod ".  I then changed directories again to a location where I keep some scripts, and ran a makefile that used to work with Composer 15.  However, this installation doesn't seem to be able to find MKL, because I got the following errors: 

Wal83.f(5): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MKL95_LAPACK]

      USE mkl95_LAPACK, ONLY: GEEV

----------^

Wal83.f(241): error #6406: Conflicting attributes or multiple declaration of name.   [GEEV]

        CALL GEEV(TestMat,WR,WI,INFO=INFO)

-------------^

I checked all of the paths in the makefile, and I can't find anything wrong with them.  Can anyone please help me with this?  I will reprint the makefile below.  Thank you!!!

LINCL=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include

LINCL_95=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include\intel64\lp64

L1=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64\mkl_intel_lp64.lib

L2=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64\mkl_intel_thread.lib

L3=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64\mkl_core.lib

L4=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64\mkl_sequential.lib

L5=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64\mkl_blas95_lp64.lib

L6=C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64\mkl_lapack95_lp64.lib

all:

      ifort /Qopenmp /I"$(LINCL)" /I"$(LINCL_95)" Wal83.f Wmod83.f ModApril2013.f  \

      "$(L1)" "$(L2)" "$(L3)" "$(L4)" "$(L5)" "$(L6)"

cls:

      del -f *.obj *.exe *.log

 

 

0 Kudos
2 Replies
mecej4
Honored Contributor III
303 Views

The names of the MKL Fortran 95 modules were changed some months ago. Look in the .../mkl/include/intel64/lp64 directory for module files containing "95" in their names. You probably need to have "USE lapack95" in your program.

0 Kudos
cygnetmama
Beginner
303 Views

Thank you!!-that worked.

0 Kudos
Reply