-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
There are no g++ version bounds defined for CUDA version 11.8 #1935
Comments
I hava tried change cub_home, such as 1.10.0/1.15.0/1.16.0. It all doesn't work. |
My first thought is that the warning doesn't matter, and your first attempt was fine. The build is slow. There is no error. Maybe it appeared to have stalled, but was actually just in-progress? |
yes, it was stalled, the full run log is as follows:
/usr/local/cuda/include/cub/detail/device_synchronize.cuh(27): error: expected a ";" /usr/local/cuda/include/cub/detail/device_synchronize.cuh(34): error: this pragma must immediately precede a declaration /usr/local/cuda/include/cub/detail/device_synchronize.cuh(65): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/cub/detail/device_synchronize.cuh(66): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/util.h(60): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/util.h(61): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/util.h(147): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/util.h(149): error: this declaration has no storage class or type specifier /usr/local/cuda/include/thrust/system/cuda/detail/util.h(149): error: expected a ";" /usr/local/cuda/include/thrust/system/cuda/detail/util.h(151): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/util.h(180): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/util.h(182): error: this declaration has no storage class or type specifier /usr/local/cuda/include/thrust/system/cuda/detail/util.h(182): error: variable "cuda_cub" has already been defined /usr/local/cuda/include/thrust/system/cuda/detail/util.h(182): error: expected a ";" /usr/local/cuda/include/thrust/system/cuda/detail/util.h(184): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/util.h(363): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/util.h(372): error: iterator_traits is not a template /usr/local/cuda/include/thrust/system/cuda/detail/util.h(596): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/alignment.h(58): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/alignment.h(61): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/alignment.h(68): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/alignment.h(248): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(669): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(670): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(696): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(697): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(722): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(724): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(725): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(750): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(751): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(753): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(754): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(779): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(780): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(781): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(783): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(784): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(809): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(810): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(811): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(812): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(814): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(815): error: expected a declaration /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(970): warning #12-D: parsing restarts here after previous syntax error /usr/local/cuda/include/thrust/system/cuda/detail/core/triple_chevron_launch.h(972): error: expected a declaration /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(141): warning #12-D: parsing restarts here after previous syntax error /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(144): error: this declaration has no storage class or type specifier /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(144): error: expected a ";" /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(147): error: this declaration has no storage class or type specifier /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(147): error: variable "agent" has already been defined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(147): error: expected a ";" /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(152): warning #12-D: parsing restarts here after previous syntax error /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(155): error: this declaration has no storage class or type specifier /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(155): error: variable "agent" has already been defined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(155): error: expected a ";" /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(157): error: expected a declaration /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(222): warning #12-D: parsing restarts here after previous syntax error /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(224): error: identifier "WrappedLevelIteratorT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(224): error: identifier "d_levels" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(226): error: identifier "num_output_levels" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(227): error: expected a declaration /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(234): warning #12-D: parsing restarts here after previous syntax error /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(241): error: identifier "LevelT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(242): error: identifier "LevelT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(243): error: identifier "LevelT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(286): error: identifier "CacheLoadModifier" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(296): error: identifier "CacheLoadModifier" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(306): error: identifier "CacheLoadModifier" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(321): error: identifier "CacheLoadModifier" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(340): error: identifier "SampleT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(341): error: identifier "NUM_ACTIVE_CHANNELS" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(349): error: AgentHistogramPolicy is not a template /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(352): error: identifier "BLOCK_LOAD_DIRECT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(353): error: identifier "LOAD_LDG" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(355): error: identifier "BLEND" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(364): error: AgentHistogramPolicy is not a template /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(367): error: identifier "BLOCK_LOAD_DIRECT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(368): error: identifier "LOAD_LDG" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(370): error: identifier "SMEM" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(390): error: class "Policy500" has no member class "HistogramSweepPolicy" /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(468): error: identifier "SampleIteratorT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(469): error: identifier "CounterT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(469): error: identifier "NUM_ACTIVE_CHANNELS" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(475): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(476): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(477): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(650): error: identifier "SampleIteratorT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(651): error: identifier "CounterT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(651): error: identifier "NUM_ACTIVE_CHANNELS" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(653): error: identifier "LevelT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(654): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(655): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(656): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(659): error: Int2Type is not a template /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(666): error: identifier "PtxVersion" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(674): error: SearchTransform is not a template /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(674): error: identifier "LevelT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(674): error: expected an expression /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(692): error: identifier "MAX_PRIVATIZED_SMEM_BINS" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: identifier "DeviceHistogramInitKernel" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: identifier "CounterT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: expected an expression /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: identifier "DeviceHistogramSweepKernel" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: type name is not allowed /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: identifier "NUM_CHANNELS" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: identifier "SampleIteratorT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: type name is not allowed /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: type name is not allowed /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: expected an expression /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(697): error: no instance of function template "PrivatizedDispatch" matches the argument list /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(721): error: identifier "DeviceHistogramInitKernel" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(721): error: identifier "CounterT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(721): error: identifier "OffsetT" is undefined /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(721): error: expected an expression /autodl-fs/data/Project_SHOW/cub-1.13.0/cub/device/dispatch/dispatch_histogram.cuh(721): error: identifier "DeviceHistogramSweepKernel" is undefined Error limit reached. |
My cuda = 11.8, torch vesion='2.2.0+cu118. I tried to install pytorch3d on a Linux server, but it ended in failure.
My steps:
But i met the error as:
The useful warning is:
So, i checked the version of gcc and g++,and changed them from 9.4.0 into 7.5.0
But it still appear the same error, when i enter python, the command lines shows:
Does it means switching versions of gcc fails?
I don't know the real reason for the failed installation anymore.
The text was updated successfully, but these errors were encountered: