You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to make it easier for rpms to be built with cuda, rocm, and rocm_smi components enabled. The current WIP SRPM can be found as a fedora rawhide scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=121528450. Because cuda and rocm support are not in the koji build system, the build does not have the cuda, rocm, rocm_smi support enabled by default. However, assuming the amd rocm and nvidia cuda are installed one can download the srpm and build it with the cuda, rocm, and rocm_smi support on RHEL9 with:
rpm -Uvh papi-7.1.0-5.fc39cuda.src.rpm
cd ~/rpmbuild/SPECS/
rpmbuild -with cuda -with rocm -with rocm_smi -ba papi.spec
The https://fedoraproject.org/wiki/SIGs/HC describes progress in getting the rocm support into Fedora Rawhide. There are some changes needed to get the srpm to build the rocm_smi component on Fedora Rawhide as the rpms names are different and PAPI_ROCMSMI_ROOT will need to be changed from the default.
The text was updated successfully, but these errors were encountered:
For this issue the changes would be in papi.spec to have the correct dependencies and set PAPI_*_ROOT appropriately. Ideally, it would be good if someone could use the spec file in the tarball and build papi with those additional components. The comment about PAPI_ROCMSMI_ROOT is just mentioning that locations for rocm includes etc are going to change in the future at the papi.spec will need to take that into account.
Would like to make it easier for rpms to be built with cuda, rocm, and rocm_smi components enabled. The current WIP SRPM can be found as a fedora rawhide scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=121528450. Because cuda and rocm support are not in the koji build system, the build does not have the cuda, rocm, rocm_smi support enabled by default. However, assuming the amd rocm and nvidia cuda are installed one can download the srpm and build it with the cuda, rocm, and rocm_smi support on RHEL9 with:
rpm -Uvh papi-7.1.0-5.fc39cuda.src.rpm
cd ~/rpmbuild/SPECS/
rpmbuild -with cuda -with rocm -with rocm_smi -ba papi.spec
The https://fedoraproject.org/wiki/SIGs/HC describes progress in getting the rocm support into Fedora Rawhide. There are some changes needed to get the srpm to build the rocm_smi component on Fedora Rawhide as the rpms names are different and PAPI_ROCMSMI_ROOT will need to be changed from the default.
The text was updated successfully, but these errors were encountered: