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

Intel Fortran 2015 and MKL95_LAPACK

Towie__Ewan
New Contributor I
1,480 Views

Hi there,

I recently updated to the 2015 Fortran compiler and I am currently trying to get my source code to compile with the new version. So far I had a catastrophic compiler error which I have managed to resolve, but I am really stuck now!

The previous version of Intel Fortran, 2013 SP1, still had the MKL95_LAPACK module available in <install dir>/intel/composer_xe_2013_sp1.5.212/mkl/include/intel64/lp64/ but the new 2015 release this module is now not available.

As I am using the specific F95 Lapack functions, what can I do now?

Thanks :)

0 Kudos
1 Solution
Towie__Ewan
New Contributor I
1,480 Views

Just to close this issue, and for future reference for anyone else having the same problem..

I managed to resolve this problem which appeared to be that the F95 LAPACK module name changed between the 2013 SP1 (and previous) and 2015 compiler releases. There is actually support for both the new and old named modules in 2013 SP1, and in 2015 the old named module appears to have been deprecated.

So, my USE statement in Fortran went from

USE mkl95_PRECISION, ONLY: WP => DP
USE mkl95_LAPACK, ONLY: SBEV,GEEV

to

USE f95_precision, ONLY: WP => DP
USE lapack95, ONLY: SBEV,GEEV

I wasn't able to find any documentation to state why this happened, or if anything has changed internally (not to say that there isn't any documentation!).

Ewan

View solution in original post

0 Kudos
5 Replies
TimP
Honored Contributor III
1,480 Views

There is definitely a selection for blas95/lapack95 in recent installers.  I think it was off by default in some versions.

0 Kudos
TimP
Honored Contributor III
1,480 Views

Did you skip an installation option for blas95/lapack95 under MKL?

The old module would probably still work.

0 Kudos
Towie__Ewan
New Contributor I
1,480 Views

Tim Prince wrote:

Did you skip an installation option for blas95/lapack95 under MKL?

Not that I am aware of. I don't recall there being any options with the install at all?

Tim Prince wrote:

The old module would probably still work.

I will try copying the file over to the new install, but it's not really a great solution.

0 Kudos
mecej4
Honored Contributor III
1,480 Views

Inside the .../mkl/include directory you have, in addition to others, the files blas.f90 and lapack.f90. Compiling those two files with the current compiler will produce the module files that you seek. After producing the module files, you may place them into the mkl/include/ia32 and mkl/include/intel64 subdirectories, as appropriate.

0 Kudos
Towie__Ewan
New Contributor I
1,481 Views

Just to close this issue, and for future reference for anyone else having the same problem..

I managed to resolve this problem which appeared to be that the F95 LAPACK module name changed between the 2013 SP1 (and previous) and 2015 compiler releases. There is actually support for both the new and old named modules in 2013 SP1, and in 2015 the old named module appears to have been deprecated.

So, my USE statement in Fortran went from

USE mkl95_PRECISION, ONLY: WP => DP
USE mkl95_LAPACK, ONLY: SBEV,GEEV

to

USE f95_precision, ONLY: WP => DP
USE lapack95, ONLY: SBEV,GEEV

I wasn't able to find any documentation to state why this happened, or if anything has changed internally (not to say that there isn't any documentation!).

Ewan

0 Kudos
Reply