- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a D5050 card with Springdale Linux 7.9, a custom red-hat based distribution. We then follow the instruction here to install the required packages for oneAPI. However, we had the following error message in compiling oneAPI sample code. Can you please advise? These are what we did.
1. downloaded the oneAPI sample code 2021.3.0 here at: https://github.com/oneapi-src/oneAPI-samples/releases/tag/2021.3.0
Thanks
Bei
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @beiwang2003,
Thank you for posting in Intel community forum and hope all is well.
The error mention seems to be mentioning missing gcc/cmake. Would suggest to run a --version to check on the gcc/cmake installation in your environment.
Is there also possible that there are multiple version of cmake installed?
Hence would also suggest to reinstalled the cmake.
As I was looking into the springdale 7.9 OS, it seems that it comes with gcc 4.8.5, perhaps that might be the culprits, would suggest to look into updating that too.
Please do let us know if that helps.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, BoonBengT_Intel,
Thanks for the suggestion. Here is the version numbers for gcc and cmake.
$ gcc --version
gcc (GCC) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cc --version
cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cmake --version
cmake version 3.4.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The compiling process seems pick up the cc compiler which points to GNU 4.8.5 instead of gcc compiler which points to GNU 7.4.0.
Thanks
Bei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @beiwang2003,
Would suggest to specify/change the location of the base toolchain by using the -gcc-toolchain to see if that works.
More details of the syntax can be found here.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @beiwang2003,
Just following up on the issues, by any chances did you managed to look into the previous suggestion to see if it helps?
Hope to hear from you soon.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, BB,
Yes, -gcc-toolchain was specified in the compiling process, but it didn't seem to work. We figured out that oneAPI add-on was not properly installed. We are now working on a fresh installation and will keep you posted for the result.
Thanks for the follow up.
Bei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @beiwang2003,
Good to know you have some lead on this.
By any chances did you managed to try reinstalling the add-on?
Please do let us know if issues persist.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @beiwang2003,
Good day, just checking in to see if there is any further doubts in regards to this matter.
Hope we have clarify your doubts.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @beiwang2003,
Greetings, as we do not receive any further clarification on what is provided. Hence thread will now be transitioned to community support and we will no longer monitor this thread. For new queries, please feel free to open a new thread and we will be right with you. Pleasure having you here.
Best Wishes
BB

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