Hi,dear Thank you for your suggestion.I'll try CUDA version 12.9. 在2026年1月9日星期五 UTC+8 18:37:32<Radu Serban> 写道:
> Indeed, the GPU-based Chrono modules are not updated to work with CUDA 13 > yet. Such an update will have to include not only Chrono::DEM, but also > Chrono::FSI_SPH and Chrono::Sensor. Furthermore, we may want to provide > some level of backward compatibility, as not all users are able to update > CUDA at any time. > > > > For now, you will have to use an older version of CUDA. Version 12.9 works > fine; the cub functions you mention are still present in that CUDA release > (albeit marked as deprecated). > > > > --Radu > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Zero > *Sent:* Thursday, January 8, 2026 12:01 PM > *To:* ProjectChrono <[email protected]> > *Subject:* [chrono] Errors encountered while compiling Chrono's dem_module > > > > 1>F:\GitHub\chrono\src\chrono_dem/cuda/ChDem_SMC.cuh(237): error : > namespace "cub" has no member "Inequality" > 1> Block_Discontinuity(temp_storage_disc).FlagHeads(head_flags, > SDsTouched, cub::Inequality()); > 1> > ^ > 1> > 1>1 error detected in the compilation of > "F:/GitHub/chrono/src/chrono_dem/cuda/ChDem_SMC_trimesh.cu". > 1>ChDem_SMC_trimesh.cu > > *The above errors appeared when compiling dem_module.* > > "In Chrono::DEM's dem_module there are still uses of the old CUB APIs > (CUDA 10/11), such as cub::Inequality. After CUDA 12/13, CUB was merged > into the CUDA C++ Core Libraries (CCCL) and many tag-type comparators were > removed, e.g. cub::Inequality, cub::Equality, cub::Less, cub::Greater, etc." > > "I'm using CUDA( version 13.1).Should this part be updated?" > > -- > You received this message because you are subscribed to the Google Groups > "ProjectChrono" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/projectchrono/9106777c-fb96-4865-9bc7-d46498339ed6n%40googlegroups.com > > <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/9106777c-fb96-4865-9bc7-d46498339ed6n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!PooaEgPHTyeQI_WB4zTtPQLhkgHsnGvQ-xYNGo91hZRpE65oFtIqK4i98z0MqaDkqroiefneyzfd6RU$> > . > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/7ce43bb8-0d47-4585-8648-872d86555d93n%40googlegroups.com.
