Closed PatWalters closed 6 years ago
Hi! What's your gcc version?
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Right, 4.8 is too old. However, you can safely comment out those pragmas, it will still work correctly.
Thanks, I'll upgrade my gcc and give it a try
Assuming as fixed, please reopen if there is still an issue.
This package looks great, but I can't build it. I'm getting this error when building on Ubuntu 14.04.5 with cuda 8. Any help would be greatly appreciated. Thanks.
kmcuda/src/kmcuda.cc:206:0: error: ignoring #pragma omp simd [-Werror=unknown-pragmas]
pragma omp simd
^ kmcuda/src/kmcuda.cc:310:0: error: ignoring #pragma omp simd [-Werror=unknown-pragmas]
pragma omp simd reduction(+:dist_sum2)
^ cc1plus: all warnings being treated as errors