During build, correctly set LD_LIBRARY_PATH for edm check of GPU libs - #121
Conversation
|
A new Pull Request was created by @smuzaffar for branch scramv3. @akritkbehera, @cmsbuild, @iarspider, @raoatifshad, @smuzaffar can you please review it and eventually sign? Thanks. |
|
cms-bot internal usage |
|
Pull request #121 was updated. |
|
Pull request #121 was updated. |
|
before merging it to default, I have created a tag V09-10-00 which we can use to test in DEVEL_X IBs |
|
Pull request #121 was updated. |
|
Enable gpu |
|
Please test using full cmssw |
|
Pull request #121 was updated. |
|
enable gpu,multi_microarchs |
|
Please test using full cmssw |
|
Please test using full cmssw |
|
Pull request #121 was updated. |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4a51a2/55772/summary.html 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: Comparison SummarySummary:
AMD_MI300X Comparison SummarySummary:
AMD_W7900 Comparison SummarySummary:
NVIDIA_H100 Comparison SummarySummary:
NVIDIA_L40S Comparison SummarySummary:
NVIDIA_T4 Comparison SummarySummary:
Max Memory Comparisons exceeding threshold NVIDIA_H100@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold: Expand to see workflows ...
Max Memory Comparisons exceeding threshold NVIDIA_T4@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold: Expand to see workflows ...
|
During building, scram runs various edm checks e.g. edm write config, edm class version check or edm transient class for generated libraries. Edm checks fail when a library needs specific libs e.g. pytorch has 3 builds ( one for cpu only, only for cuda+cpu and one for rocm+cpu) and to load a alpaka/rocm shared lib scram should make sure that pytorch/rocm libs comes first. This PR dynamically change the LD_LIBRARY_PATH for each edm check and remove the unneeded lib paths.
We still have one issue that we run
edmPluginRefreshat the end and this loads all cmssw libs in single process. I think we need to change this such that we runedmPluginRefreshmultiple times providing a filter to it so that it only loads selected libs. SCRAM can then do