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
Hack CUDA to support GCC 7 #3962
Hack CUDA to support GCC 7 #3962
Conversation
@cmsbuild, please test |
A new Pull Request was created by @fwyzard (Andrea Bocci) for branch IB/CMSSW_10_2_X/gcc630. @cmsbuild, @smuzaffar, @gudrutis, @mrodozov can you please review it and eventually sign? Thanks. |
The tests are being triggered in jenkins. |
-1 Tested at: 6a4d685
I found an error when building: + rm -rf /build/cmsbld/jenkins/workspace/ib-any-integration/testBuildDir/BUILD/slc6_amd64_gcc630/external/cuda/9.1.85-cms2/lib64/libcublas.so.9.1.128 + rm -rf /build/cmsbld/jenkins/workspace/ib-any-integration/testBuildDir/BUILD/slc6_amd64_gcc630/external/cuda/9.1.85-cms2/lib64/libnvblas.so.9.1.128 + %patch0 -p1 /build/cmsbld/jenkins/workspace/ib-any-integration/testBuildDir/tmp/rpm-tmp.r6bv1r: line 62: fg: no job control error: Bad exit status from /build/cmsbld/jenkins/workspace/ib-any-integration/testBuildDir/tmp/rpm-tmp.r6bv1r (%install) RPM build errors: Bad exit status from /build/cmsbld/jenkins/workspace/ib-any-integration/testBuildDir/tmp/rpm-tmp.r6bv1r (%install) You can see the results of the tests here: |
6a4d685
to
eb7302a
Compare
Pull request #3962 was updated. |
@cmsbuild, please test |
The tests are being triggered in jenkins. |
-1 Tested at: eb7302a You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found an error when building: ImportError: /cvmfs/cms-ib.cern.ch/nweek-02521/slc6_amd64_gcc630/lcg/root/6.10.09-hkdhhm/lib/libPyROOT.so: undefined symbol: _ZN11TBufferFile14WriteObjectAnyEPKvPK6TClass gmake: *** [tmp/slc6_amd64_gcc630/edm_checks/libAnalysisDataFormatsTrackInfo.so] Error 1 Suggestion: You can run 'scram build updateclassversion' to generate src/CalibFormats/CaloObjects/src/classes_def.xml.generated with updated ClassVersion gmake: *** [tmp/slc6_amd64_gcc630/edm_checks/libCalibFormatsCaloObjects.so] Error 1 >> EDM Checks sequence completed for CMSSW CMSSW_10_2_X_2018-04-26-1100 gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 1 |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
Do you know if this build error is already there in the IBs ?
|
please test |
The tests are being triggered in jenkins. |
Ah OK.
I did test these changes locally, but only on the CUDA code.
.A
|
Comparison job queued. |
Comparison is ready Comparison Summary:
|
Hi @smuzaffar , Thank you, |
@fwyzard , sorry not yet. Will do it later in the evening. |
First, patch CUDA headers not to reject GCC 7.
Then, force the host compiler to use C++14 for CUDA code, because with GCC 7 we cannot safely mix C++17 preprocessing with C++14 compilations.