- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/get...
for Fortran (attached), and VS2022 cannot fine F95_PRECISION etc etc
I assume $(ConfigurationName) is not wrong n the INCLUDE
C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include/$(ConfigurationName)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The solution was simple, adding
option(ENABLE_BLAS95 "Enables BLAS Fortran95 API" ON)
option(ENABLE_LAPACK95 "Enables LAPACK Fortran95 API" ON)
to cmakelist.txt.
For the future, the attached adds other MKL options, no set to OFF.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also trying to get clues from
C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\examples\examples_f95\f95 but it cannot find
generate_examples_list, setup_examples
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
Thanks for reaching out to us.
>>but it cannot find generate_examples_list, setup_examples
Above 2 files generate_examples_list and setup_examples are located under the following path
C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\examples\cmake
>>cannot fine F95_PRECISION..
Maybe you can refer to the sample CMakeLists.txt given under
C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\examples\examples_f95\f95
.
And if you are attempting to run the examples present in the f95 folder please make sure that the generate_examples_list and setup_examples files in cmake directory are present as mentioned in the CMakeLists.txt (like maybe you can try copying the cmake directory to the path where f95 present i.e. f95 and cmake should present in same location) otherwise you might get errors as shown below
"CMake Error at CMakeLists.txt:23 (include):
include could not find requested file:
generate_examples_list
CMake Error at CMakeLists.txt:36 (include):
include could not find requested file:
setup_examples"
Please give it a try and do let me know if there are any issues in doing so.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
Both my F95 and my smaller example seem to have a problem with with the the Additional Include Directories
C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include
C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include/$(ConfigurationName)
which is is patched by adding
C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\include\intel64\ilp64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The solution was simple, adding
option(ENABLE_BLAS95 "Enables BLAS Fortran95 API" ON)
option(ENABLE_LAPACK95 "Enables LAPACK Fortran95 API" ON)
to cmakelist.txt.
For the future, the attached adds other MKL options, no set to OFF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
>>The solution was simple, adding..
Glad to know that your issue is resolved and thanks for letting us know.
Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.
Regards,
Vidya.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page