ROCM: set HIP_PATH and created clang++.cfg to provide gcc-toolchain and target#9893
ROCM: set HIP_PATH and created clang++.cfg to provide gcc-toolchain and target#9893smuzaffar merged 1 commit intoIB/CMSSW_15_1_X/masterfrom
Conversation
|
please test |
|
A new Pull Request was created by @smuzaffar for branch IB/CMSSW_15_1_X/master. @iarspider, @smuzaffar can you please review it and eventually sign? Thanks. |
|
cms-bot internal usage |
|
please test for CMSSW_15_1_CLANG_X |
93c700d to
f06c0e8
Compare
|
Pull request #9893 was updated. |
|
please test |
|
please test for CMSSW_15_1_CLANG_X |
|
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-093152/46384/summary.html External BuildI found compilation error when building: -- Installing: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/542440a5dd643ed00b5989044bd41906/opt/cmssw/el8_amd64_gcc12/external/rocm/6.3.2-542440a5dd643ed00b5989044bd41906/share/rocprofiler-register/setup-env.sh
-- Installing: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/542440a5dd643ed00b5989044bd41906/opt/cmssw/el8_amd64_gcc12/external/rocm/6.3.2-542440a5dd643ed00b5989044bd41906/share/modulefiles/rocprofiler-register/0.4.0
-- Installing: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/542440a5dd643ed00b5989044bd41906/opt/cmssw/el8_amd64_gcc12/external/rocm/6.3.2-542440a5dd643ed00b5989044bd41906/lib/cmake/rocprofiler-register/rocprofiler-register-config.cmake
-- Installing: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/542440a5dd643ed00b5989044bd41906/opt/cmssw/el8_amd64_gcc12/external/rocm/6.3.2-542440a5dd643ed00b5989044bd41906/lib/cmake/rocprofiler-register/rocprofiler-register-config-version.cmake
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.7LCB53: line 64: syntax error near unexpected token `<<<'
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.7LCB53 (%install)
RPM build errors:
Macro expanded in comment on line 408: %{pkginstroot}
|
|
please test for CMSSW_15_1_CLANG_X |
|
fixes clang IBs |
|
-1 Failed Tests: UnitTests The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Unit TestsI found 1 errors in the following unit tests: ---> test SagittaBiasNtuplizer had ERRORS Comparison SummarySummary:
|
|
-1 Failed Tests: UnitTests The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Unit TestsI found 1 errors in the following unit tests: ---> test SagittaBiasNtuplizer had ERRORS Comparison SummarySummary:
|
|
@smuzaffar does this mean that we can drop |
|
@fwyzard , I am testing that locally to see if we can drop it. |
|
looks like we can drop |
|
Thanks :) |
Set
HIP_PATHto point to ROCM installation.Save
--gcc-toolchain and --targetinrocm/llvm/bin/clang++.cfgso thathipccuse the correct gcc header. This should fix the errors like [a] which we get for CLANG_X IBs[a] https://cmssdt.cern.ch/SDT/jenkins-artifacts/build-any-ib/CMSSW_15_1_CLANG_X_2025-05-26-2300/el8_amd64_gcc12/210560/external/mpich/v4.3.0-c040835408ff8a8ea619ea18241c5d7d/log