- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Attempting to launch a DPC++ app (.exe) on windows os, results in an error message as shown below.
What could cause this error? What are the redistribution requirements/packages?
Best regards,
- Tags:
- General Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Assad,
Check if sycl.dll file is present at location C:\Program Files (x86)\inteloneapi\compiler\2021.1-beta04\windows\bin or not.
If not there is the problem with your installation you can reinstall baseKit-04 .
You can find all the requirements for using OneAPI Base Toolkit at here
-Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhishek,
Installing the latest base kit version "w_BaseKit_b_2021.1.4.423" has NOT fixed this problem.
Following the errors and placing "sycl.dll" side by side with the executable, then "libmmd.dll" then "pi_opencl.dll"
resulted in a silent app termination without exec, no shutdown, no clean-up.
The directory structure is intact, and relevant to "ONEAPI_ROOT", but not drive "C", are there hard coded paths?
Apparently, I'm missing the redistributables...
What are the redistributable requirements?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Deploying the following shared libraries side by side with the executable seems to work. Not tested on an external (oneAPI not installed) windows environment.
sycl.dll
libmmd.dll
pi_opencl.dll
OpenCL.dll
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Assad,
Check your installation once and if needed reinstall the base toolkit.
Because for us the latest base-kit is working fine on windows 10 OS without any .dll error and without explicitly linking libraries.
-Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhishek,
Running an executable in the development time works well, using Intel oneAPI command prompt or MS-VS.
I have "w_BaseKit_b_2021.1.4.423".
The directory structure is intact, and relevant to "ONEAPI_ROOT".
The issue here is about launching the same executable from outside the development environment. Please try to double click it or call it from the standard cmd, in order to reproduce this issue.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Assad,
I came to know your problem when you are double-clicking the executable(outside dev environment) it's showing "sycl.dll not found".
This error will persist because you are not in inteloneapi environment, before running that executable it's mandatory to source the environment in the same session, for this you have to execute %ONEAPI_ROOT%setvars.bat in the same session where you want to run the executable.
You can open the CMD in the same directory(executable directory eg vector-add.exe) and first ran the setvarsh.bat file then your executable(eg vector-add.exe) it will run without error.
-Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Assad,
Will you confirm for us if your problem is solved?
You are always welcome to post a new thread if you face any other issues.
-Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhishek,
Launching a DPC++ app and overcoming linking issues in a development machin is considered solved following this thread.
Launching a DPC++ app in an external environment where oneAPI is not installed, discussion is continued at thread:
"DPC++ Linking and Deployment"
https://software.intel.com/en-us/forums/oneapi-data-parallel-c-compiler/topic/848900
Thank you for your care.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You, Assad, we are closing this thread.
You can post new threads if you face any issue.
-Abhishek
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page