- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am a beginner in Visual Studio and compilers. I am using an exe file generated by colleague. They generated it in VS2015 and XE2016 fortran compiler. I have installed VS2015, VS2017 and VS2019. I also installed OneAPI HPC toolkit. When I try to run the exe even on oneAPI tools terminal, still it throws following error. My colleague doesn't want to re-write/change his code. Is there any work around to make it work by copying libraries or something?
I really appreciate any help in his regard.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vikas,
Thanks for posting in Intel Communities.
As your code/exe was built using an older version (XE2016) and are trying to run the same under the latest version of Intel oneAPI, there might be some compatibility issues arose.
Besides this, the shared screenshot says that the mkl_def.dll could not be found. In general, all the required dll's would be available in the below path. Could you please add the same under include directories? Below are the steps and the path for your reference.
C:\Program Files (x86)\Intel\oneAPI\mkl\2023.2.0\redist\intel64
1. In the Project Properties window, navigate to the "Configuration Properties" section.
2. Click on "Library Directories" and then in the right-hand pane, click the dropdown arrow and select "Edit."
3. In the "Library Directories" dialog box, add the path to the directory.
You could add the required dll using the below steps:
Navigate to the "Configuration Properties" > "Linker" > "Input" section.
Click on "Additional Dependencies" and then on the right-hand side, click the dropdown arrow and select "Edit." Add the name of the required dll files to the list of additional dependencies.
Could you please get back to us with a sample reproducer and the Intel MKL version being used if the issue still persists? We would like to try it on our end and help you accordingly.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Shanmukh for replying. It was solved by copying mkl_def.dll file from another program on my computer. I had copied it before intel/oneAPI folder but that was perhaps non-compatible version and throwing the error.
Regards
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vikas,
It’s great to know that the issue has been resolved, in case you run into any other issues please feel free to create a new thread.
Best Regards,
Shanmukh.SS
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page