- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to link my Fortran program with Intel Math Kernel Library (MKL) using the new IFX compiler, but I am running into unresolved external errors.
Could someone guide me through the correct steps or share a simple example makefile or Visual Studio project settings for this configuration?
Any troubleshooting tips would also be appreciated. Thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need to show us the complete messages for the unresolved externals, including the name of the missing symbol. You may get more comprehensive help in the MKL forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Configuring a Visual Studio project to use Intel oneAPI Math Kernel Library (oneMKL) involves adjusting several project settings.
1. Enabling oneMKL:
- Open your project in Visual Studio.
- Right-click on your project in Solution Explorer and select Properties.
- In the Configuration Properties, navigate to Fortran > Libraries (if using Fortran) or C/C++ > Libraries (if using C/C++).
- Select Use Intel Math Kernel Library and choose the desired oneMKL linking method (e.g., "Parallel" or "Sequential").
2. Adjusting Compiler Options (if using Intel Compiler):
- If you are using the Intel C++ or Fortran Compiler, ensure it is selected for your project.
- The
/Qmkloption (for C++) or-qmkloption (for Fortran) can be used to automatically link with oneMKL libraries. This option can be specified in the compiler's command line or within the Visual Studio project settings under Configuration Properties > C/C++ > Command Line or Fortran > Command Line.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page