-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: parameter packs not expanded with ‘...’ #102
Comments
Looks like your gcc version is not supported by CUDA. https://devtalk.nvidia.com/default/topic/949770/cuda-8-0rc-supporting-gcc6-/ |
I have the same issue with CUDA 11.5 and GCC 11, which IS a supported compiler according to https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html. |
The voice of one crying in the wilderness... De profundis ad te clamavi, NVIDIAAAAAAAA.... |
Is it the exact same compiler message as originally posted? If not, perhaps I can find a way to workaround nvcc's issue. But if nvcc is choking on standard library headers like |
Since 4 years has passed, and the version of the compiler was incremented 5 times, the error message is not exactly the same.
The error happens while compiling a generated file with extension It seems like NVCC is sensitive to the minor version of the compiler. The workaround was to have a second compiler with version 11.1 and specify |
If someone is facing the same issue, I checked the difference between gcc 11.2 and 11.1
|
fedora32 + cuda11でそのままビルドすると、g++ 10.3のchrono周りのエラーが発生する。 参照: NVIDIA/nccl#494 gcc 10.2 OK gcc 10.3, 11.0, 11.1 broken gcc 10.4, gcc 11.2 OK そのため、dnf downgradeでgccを10.0に戻して対処した。 fedora34の現在のgccは11.2.1のため、この問題は解消しているが、gcc-11.2.1-9からstd::functionがらみの別の問題が発生する。 参照: NVIDIA/nccl#102
This has reappeared on ubuntu jammy. Default (Aptitude) gcc is 11.2 and cuda version is 11.6. |
Taking std_function.h from a different gcc version fixed this for me for the time being. |
For me I had to manually install the 11.6 toolkit. The aptitude version is 11.5 ! |
Taking std_function.h from gcc 11.1 fixed this for me for the time being. I'm compiling gromacs with gpu support in ubuntu 22.04 with gcc 11.2. |
The problem is in CUDAFE. FE stands for front-end, it's a C++ front-end based on the EDG front-end. As far as I understand, it heavily modifies your code (for example, brings local variables to the global scope), and, obviously, introduces bugs on the way. I think probably NVIDIA doesn't have money to update the EDG version, and, thus, simply ignores this bug. |
For CMake based projects I managed to sort this problem out by installing an older compiler and telling nvcc which is the host compiler
|
Hi. I'm trying to build xgboost that contains nccl package.
gcc 6.4.0
ubunut 17.04
But the comiler craches with the following error message:
Any ideas?
The text was updated successfully, but these errors were encountered: