-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
CMS ROOT distribution does not include cuda.pcm
#47400
Comments
cuda.pch
assign core |
New categories assigned: core @Dr15Jones,@makortel,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
cms-bot internal usage |
A new Issue was created by @fwyzard. @Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
cuda.pch
cuda.pcm
cuda.pcm
cuda.pcm
Given that attempts to disable the header parsing seem to continue to be difficult, I'd be fine with the proposal. |
Actually, also the distributions of ROOT I can download from https://root.cern/install/all_releases/, e.g. root_v6.32.10.Linux-ubuntu24.04-x86_64-gcc13.3.tar.gz, do not contain the file |
Tagging @pcanal given the ROOT connection |
looks like root only provide https://github.com/root-project/root/blob/master/interpreter/cling/include/cling/cuda.modulemap which cling uses to build a cuda.pcm on fly. For CXXMODULE IBs we were generating pcm for few externals (including cuda). We can try to move that to default IBs and see if that helps |
The build of ROOT that we distribute with CMSSW does not seem to include
cuda.pcm
:This causes ROOT to try and generate
cuda.pcm
while parsing headers that includecuda_runtime.h
.For a local installation of CMSSW this actually works. As you can see from the timestamps,
cuda.pcm
was just generated, while the other PCM files come form the RPM installation:For a regular installation on CVMFS or other central filesystem without write access, writing
cuda.pcm
fails, and ROOT complains with a long error message:Rather than trying to disable the header parsing mechanism, I suspect it would be simpler to generate and include
cuda.pcm
in our ROOT distribution, for those architectures where CUDA is available.The text was updated successfully, but these errors were encountered: