- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel communities.
I will try to explain as simple as possible. There are some dependencies required to build OneDAL samples, so the best way is to download the base toolkit and build the samples.
Please follow the below commands.
Download Basetoolkit with the following command (for Linux):
wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/7deeaac4-f605-4bcf-a81b-ea7531577c61/l_BaseKit_p_2023.1.0.46401_offline.sh
To install Basetoolkit run the below command.
sudo sh ./l_BaseKit_p_2023.0.0.25537_offline.sh
Note: Please run the below commands as root/sudo user (i.e sudo su)
sudo su
Set the environment variables with the below command.
source /opt/intel/oneapi/setvars.sh
Since you are trying to build cpp samples go to the below path.
cd /opt/intel/oneapi/dal/latest/examples/oneapi/cpp
>>Building samples:
Create a build directory and run the below commands.
mkdir build && cd build
generate a Makefile with the below command.
cmake ..
make -j 4
After running the above command, we can build all the OneDAL C++ samples. I am attaching a screenshot for reference.
This is the path to the samples directory.
/opt/intel/oneapi/dal/latest/examples/oneapi/cpp/_cmake_results/intel_intel64_so/
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Regards,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I hope you are doing well.
If the above workaround resolves your issue, make sure to accept this as a solution. This would help others with similar issue.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this case will no longer be monitored by Intel.
Thanks,
Jaideep

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page