diff --git a/parsl/executors/taskvine/executor.py b/parsl/executors/taskvine/executor.py index 891899f6fc..b242c51dac 100644 --- a/parsl/executors/taskvine/executor.py +++ b/parsl/executors/taskvine/executor.py @@ -3,6 +3,7 @@ high-throughput system for delegating Parsl tasks to thousands of remote machines """ +import getpass import hashlib import inspect import itertools @@ -216,7 +217,7 @@ def __create_data_and_logging_dirs(self): # Create directories for data and results log_dir = os.path.join(run_dir, self.label) - tmp_dir = os.path.join('/tmp/', f'{self.label}-{os.getlogin()}') + tmp_dir = os.path.join('/tmp/', f'{self.label}-{getpass.getuser()}') self._function_data_dir = os.path.join(tmp_dir, datetime.now().strftime('%Y%m%d%H%M%S%f'), "function_data") os.makedirs(log_dir) os.makedirs(self._function_data_dir)