Skip to content

Commit c936b27

Browse files
committed
[Fix] Do not set cache_directory in block_allocation mode
1 parent 4848ef9 commit c936b27

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/executorlib/task_scheduler/interactive/spawner_pysqa.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ def create_pysqa_block_allocation_scheduler(
242242
executor_kwargs["cwd"] = os.path.abspath(cache_directory)
243243
if cache_directory is not None:
244244
executor_kwargs["cache_directory"] = os.path.abspath(cache_directory)
245-
else:
246-
executor_kwargs["cache_directory"] = os.path.abspath(".")
247245
executor_kwargs["hostname_localhost"] = hostname_localhost
248246
executor_kwargs["log_obj_size"] = log_obj_size
249247
executor_kwargs["pmi_mode"] = pmi_mode

0 commit comments

Comments
 (0)