From b596098d1480248aa9ee3c9397b85a0b4270a54b Mon Sep 17 00:00:00 2001 From: ywang103-amd Date: Thu, 20 Mar 2025 22:03:02 -0400 Subject: [PATCH] Revert "fix the error of output path of multi-node mode (#616)" (#621) --- src/rocprof_compute_base.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/rocprof_compute_base.py b/src/rocprof_compute_base.py index e4f733e910..cd97676fde 100644 --- a/src/rocprof_compute_base.py +++ b/src/rocprof_compute_base.py @@ -208,15 +208,11 @@ class RocProfCompute: # Might want to get host name from detected spec if self.__args.subpath == "node_name": self.__args.path = str( - Path(self.__args.path).joinpath( - self.__args.name, socket.gethostname() - ) + Path(self.__args.path).joinpath(socket.gethostname()) ) elif self.__args.subpath == "gpu_model": self.__args.path = str( - Path(self.__args.path).joinpath( - self.__args.name, self.__mspec.gpu_model - ) + Path(self.__args.path).joinpath(self.__mspec.gpu_model) ) p = Path(self.__args.path)