Score-P: Add remapping for rocmcc (#45316)

* Score-P: Add remapping for rocmcc

rocmcc -> amdclang for ScoreP

* [@spackbot] updating style on behalf of wrwilliams

---------

Co-authored-by: William Williams <william.williams@tu-dresden.de>
Co-authored-by: wrwilliams <wrwilliams@users.noreply.github.com>
This commit is contained in:
Bill Williams 2024-08-06 09:51:50 +02:00 committed by GitHub
parent fa671a639a
commit e1bcbcf9f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,7 +160,7 @@ def find_libpath(self, libname, root):
# handle any mapping of Spack compiler names to Score-P args
# this should continue to exist for backward compatibility
def clean_compiler(self, compiler):
renames = {"cce": "cray"}
renames = {"cce": "cray", "rocmcc": "amdclang"}
if compiler in renames:
return renames[compiler]
return compiler