- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have to evaluate oneAPI for my company. I am not able to compile a simple example from the SDK: simple-add-buffers. I am just trying to run on CPU now.
My machine:
Dual socket: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
OS:
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
env gcc:
[nix-shell:~/dpcpp/simple_add]$ gcc --version
gcc (GCC) 9.3.0
Copyright (C) 2019 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.
set up env:
[nix-shell:~/dpcpp/simple_add]$ . /opt/intel/oneapi/setvars.sh --force
:: initializing oneAPI environment ...
BASH version = 4.4.23(1)-release
:: mpi -- latest
:: dpl -- latest
:: tbb -- latest
:: compiler -- latest
:: mkl -- latest
:: ccl -- latest
:: dal -- latest
:: dpcpp-ct -- latest
:: ippcp -- latest
:: dev-utilities -- latest
:: ipp -- latest
:: advisor -- latest
:: itac -- latest
:: inspector -- latest
:: vpl -- latest
:: clck -- latest
:: vtune -- latest
:: dnnl -- latest
:: debugger -- latest
:: oneAPI environment initialized ::
error:
[nix-shell:~/dpcpp/simple_add]$ make build_buffers
dpcpp -O2 -g -std=c++17 -o simple-add-buffers src/simple-add-buffers.cpp
In file included from src/simple-add-buffers.cpp:22:
In file included from /opt/intel/oneapi/compiler/2021.1.2/linux/bin/../include/sycl/CL/sycl.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.2/linux/bin/../include/sycl/CL/sycl/ONEAPI/atomic.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.2/linux/bin/../include/sycl/CL/sycl/ONEAPI/atomic_accessor.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.2/linux/bin/../include/sycl/CL/sycl/ONEAPI/atomic_enums.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.2/linux/bin/../include/sycl/CL/__spirv/spirv_ops.hpp:10:
/opt/intel/oneapi/compiler/2021.1.2/linux/bin/../include/sycl/CL/__spirv/spirv_types.hpp:11:10: fatal error: 'cstdint' file not found
#include <cstdint>
my two cents, dpcpp is trying using the libc of the system (GCC 4.8.5). Any suggestions ?
Thank you
++t
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please confirm whether we can close this thread from our end?
Regards
Goutham
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Timothee,
Thanks for reaching out to us!
It looks like you are using DPCPP Compiler in OS(CentOS 7) which is not supported.
Please refer to the below link for System Requirements for Intel® oneAPI DPC++/C++ Compiler.
Let us know if this helps you.
Have a Good day!
Thanks & Regards
Goutham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the answer. I will see what we can do with my devops.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please confirm whether we can close this thread from our end?
Regards
Goutham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation!
As this issue has been resolved, we will no longer respond to this thread.
If you require any additional assistance from Intel, please start a new thread.
Any further interaction in this thread will be considered community only.
Have a Good day.
Thanks & Regards
Goutham
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page