Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

MKL library with IMSL

rafadix08
Beginner
1,006 Views
I am trying to use the MKL library with IMSL.

I followed the steps in this website:
http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-with-imsl-fortran-numerical-library/

However, when I compilemy code I receive many compilation errors in:
mkl_vsl.fi

Here are the errors I receive (in case it is helpful):
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(796): error #6617: The END statement for a CONTAINed procedure is missing
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(796): error #6702: END statement confusion
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(800): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(810): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(811): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(820): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(821): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(830): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(831): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(840): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(841): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(850): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(851): error #6457: This derived type name has not been declared. [VSL_CORR_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(860): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(861): error #6457: This derived type name has not been declared. [VSL_CORR_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(870): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(871): error #6457: This derived type name has not been declared. [VSL_CORR_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(880): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(881): error #6457: This derived type name has not been declared. [VSL_CORR_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(890): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(891): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(900): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(901): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(910): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(911): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(920): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(921): error #6457: This derived type name has not been declared. [VSL_CONV_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(930): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(931): error #6457: This derived type name has not been declared. [VSL_CORR_TASK]
1>C:\Program Files\Intel\Compiler\11.0\075\fortran\mkl\include\mkl_vsl.fi(940): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_VSL_TYPE]
1>(2192): catastrophic error: Too many errors, exiting
0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,006 Views

How are you using mkl_vsl.fi? If you are INCLUDEing it, the INCLUDE line needs to be first in your source, before any other statements, since it actually defines a module. I don't care for the way they have done this - it really should be given a .f90 file type since it is just a MODULE.

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,007 Views

How are you using mkl_vsl.fi? If you are INCLUDEing it, the INCLUDE line needs to be first in your source, before any other statements, since it actually defines a module. I don't care for the way they have done this - it really should be given a .f90 file type since it is just a MODULE.
0 Kudos
rafadix08
Beginner
1,006 Views

How are you using mkl_vsl.fi? If you are INCLUDEing it, the INCLUDE line needs to be first in your source, before any other statements, since it actually defines a module. I don't care for the way they have done this - it really should be given a .f90 file type since it is just a MODULE.

Steve,
I was including it inside a subroutine. Your recommendation worked. Before the declaration of the module that contained the subroutine I added a line with "include 'mkl_vsl.fi' " and it worked.
Many thanks,
Rafael
0 Kudos
Reply