error with installation #552
Replies: 2 comments
-
Add "#include " in line 10 of polyfill.hpp, or use the next branch. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What nekrs version / machine / backend / compilers are you using? If it's v23 (repo/master) + HIP + Frontier, as @joneuhauser pointed out, the error will probably fixed by a newer OCCA. You can either try repo/next branch or adapt this patch: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot install nekRS for the following errors, appreciate for the help~ Thanks.
n file included from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/utils.hpp:6,
from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/stream.cpp:1:
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:61:23: error: ‘uint32_t’ does not name a type
61 | using return_type = uint32_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:10:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
9 | #include
+++ |+#include
10 | namespace sycl {
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: error: ‘uint64_t’ does not name a type
65 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: error: ‘uint64_t’ does not name a type
69 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:159:41: error: ‘return_type’ in ‘struct sycl::info::device::max_compute_units’ does not name a type
159 | inline info::device::max_compute_units::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:166:39: error: ‘return_type’ in ‘struct sycl::info::device::global_mem_size’ does not name a type
166 | inline info::device::global_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:173:38: error: ‘return_type’ in ‘struct sycl::info::device::local_mem_size’ does not name a type
173 | inline info::device::local_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: error: ‘uint64_t’ does not name a type
276 | uint64_t get_profiling_info() const {
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
In file included from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/utils.hpp:6,
from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/utils.cpp:3:
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:61:23: error: ‘uint32_t’ does not name a type
61 | using return_type = uint32_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:10:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
9 | #include
+++ |+#include
10 | namespace sycl {
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: error: ‘uint64_t’ does not name a type
65 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: error: ‘uint64_t’ does not name a type
69 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
In file included from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/utils.hpp:6,
from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/memoryPool.cpp:1:
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:61:23: error: ‘uint32_t’ does not name a type
61 | using return_type = uint32_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:10:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
9 | #include
+++ |+#include
10 | namespace sycl {
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: error: ‘uint64_t’ does not name a type
65 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: error: ‘uint64_t’ does not name a type
69 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
In file included from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/utils.hpp:6,
from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/buffer.cpp:2:
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:61:23: error: ‘uint32_t’ does not name a type
61 | using return_type = uint32_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:10:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
9 | #include
+++ |+#include
10 | namespace sycl {
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: error: ‘uint64_t’ does not name a type
65 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: error: ‘uint64_t’ does not name a type
69 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:159:41: error: ‘return_type’ in ‘struct sycl::info::device::max_compute_units’ does not name a type
159 | inline info::device::max_compute_units::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:166:39: error: ‘return_type’ in ‘struct sycl::info::device::global_mem_size’ does not name a type
166 | inline info::device::global_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:173:38: error: ‘return_type’ in ‘struct sycl::info::device::local_mem_size’ does not name a type
173 | inline info::device::local_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:159:41: error: ‘return_type’ in ‘struct sycl::info::device::max_compute_units’ does not name a type
159 | inline info::device::max_compute_units::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:166:39: error: ‘return_type’ in ‘struct sycl::info::device::global_mem_size’ does not name a type
166 | inline info::device::global_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:173:38: error: ‘return_type’ in ‘struct sycl::info::device::local_mem_size’ does not name a type
173 | inline info::device::local_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:159:41: error: ‘return_type’ in ‘struct sycl::info::device::max_compute_units’ does not name a type
159 | inline info::device::max_compute_units::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:166:39: error: ‘return_type’ in ‘struct sycl::info::device::global_mem_size’ does not name a type
166 | inline info::device::global_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:173:38: error: ‘return_type’ in ‘struct sycl::info::device::local_mem_size’ does not name a type
173 | inline info::device::local_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: error: ‘uint64_t’ does not name a type
276 | uint64_t get_profiling_info() const {
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: error: ‘uint64_t’ does not name a type
276 | uint64_t get_profiling_info() const {
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: error: ‘uint64_t’ does not name a type
276 | uint64_t get_profiling_info() const {
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
In file included from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/utils.hpp:6,
from /home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/memory.cpp:1:
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:61:23: error: ‘uint32_t’ does not name a type
61 | using return_type = uint32_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:10:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
9 | #include
+++ |+#include
10 | namespace sycl {
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: error: ‘uint64_t’ does not name a type
65 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:65:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: error: ‘uint64_t’ does not name a type
69 | using return_type = uint64_t;
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:69:23: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:159:41: error: ‘return_type’ in ‘struct sycl::info::device::max_compute_units’ does not name a type
159 | inline info::device::max_compute_units::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:166:39: error: ‘return_type’ in ‘struct sycl::info::device::global_mem_size’ does not name a type
166 | inline info::device::global_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:173:38: error: ‘return_type’ in ‘struct sycl::info::device::local_mem_size’ does not name a type
173 | inline info::device::local_mem_size::return_type
| ^~~~~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: error: ‘uint64_t’ does not name a type
276 | uint64_t get_profiling_info() const {
| ^~~~~~~~
/home/chunheng/nekRS/3rd_party/occa/src/occa/internal/modes/dpcpp/polyfill.hpp:276:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
gmake[2]: *** [3rd_party/occa/CMakeFiles/libocca.dir/build.make:2946: 3rd_party/occa/CMakeFiles/libocca.dir/src/occa/internal/modes/dpcpp/stream.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [3rd_party/occa/CMakeFiles/libocca.dir/build.make:2862: 3rd_party/occa/CMakeFiles/libocca.dir/src/occa/internal/modes/dpcpp/buffer.cpp.o] Error 1
gmake[2]: *** [3rd_party/occa/CMakeFiles/libocca.dir/build.make:2974: 3rd_party/occa/CMakeFiles/libocca.dir/src/occa/internal/modes/dpcpp/utils.cpp.o] Error 1
gmake[2]: *** [3rd_party/occa/CMakeFiles/libocca.dir/build.make:2918: 3rd_party/occa/CMakeFiles/libocca.dir/src/occa/internal/modes/dpcpp/memoryPool.cpp.o] Error 1
gmake[2]: *** [3rd_party/occa/CMakeFiles/libocca.dir/build.make:2904: 3rd_party/occa/CMakeFiles/libocca.dir/src/occa/internal/modes/dpcpp/memory.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:530: 3rd_party/occa/CMakeFiles/libocca.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
chunheng@chunheng-XPS:~/nekRS$
Beta Was this translation helpful? Give feedback.
All reactions