Skip to content

Commit

Permalink
Fix VTune profiler for when running with MPI
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Dec 2, 2024
1 parent 8465482 commit 233c30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ def add_profiler(self):
# Prepend VTune call to the executable
self.executable = f'vtune -collect hotspots -r {output_path} -- ' + self.executable
# Save the output directory
self.keep_files.append(output_path)
self.keep_files.append(f'{output_path}*')
viewer_cmd = 'vtune-gui'
viewer_args = f'{self.outputdir}/{output_path}'
viewer_args = f'{self.outputdir}/{output_path}*'
else:
raise CommandLineError(f'Unknown profiler {self.profiler}')

Expand Down

0 comments on commit 233c30f

Please sign in to comment.