STEllAR-GROUP / hpxcl

This repository contains components that will support percolation via OpenCL and CUDA
Boost Software License 1.0
31 stars 17 forks source link

Error in compiling PartitionCuda benchmark #58

Closed MADHAVAN001 closed 7 years ago

MADHAVAN001 commented 7 years ago

Is there any idea as to what is causing this error?

[mseshadri@bob1 stencil]$ srun -p tycho -N 1 /usr/local/cuda-8.0/bin/nvprof ./PartitionHPX 2 ==5055== NVPROF is profiling process 5055, command: ./PartitionHPX 2 4194304 __nv_nvrtc_builtin_header.h(49099): error: expected a ";"

__nv_nvrtc_builtin_header.h(49100): error: expected a ";"

__nv_nvrtc_builtin_header.h(49101): error: expected a ";"

__nv_nvrtc_builtin_header.h(49102): error: expected a ";"

__nv_nvrtc_builtin_header.h(49103): error: expected a ";"

__nv_nvrtc_builtin_header.h(49104): error: expected a ";"

Error limit reached. 100 errors detected in the compilation of "dd8af340-9858-406c-b159-d41f40362acf.cu". Compilation terminated.

MADHAVAN001 commented 7 years ago

StencilHPX also seems to be throwing the same error with gcc-4.9.4.

It previously worked well with gcc-6.3.0

diehlpk commented 7 years ago

Are you using the same version of the CUDA SDK in both cases?

MADHAVAN001 commented 7 years ago

Yes! Cuda-8.0

Kernel compilation shouldn't be an issue when SDK and code are same, but it's weird that this error is cropping up

MADHAVAN001 commented 7 years ago

Re-building solved the problem.

I guess no further action is required about this problem.