Skip to content

Conversation

arnaudon
Copy link
Contributor

@arnaudon arnaudon commented Nov 23, 2023

This is to ensure that if workers are launched with dask_mpi, the local_directory can be modified via dask.config('temporary_directory').
In https://github.com/dask/distributed/blob/main/distributed/core.py#L385 it assumes None default value, not "".

@kmpaul
Copy link
Collaborator

kmpaul commented Nov 29, 2023

Thanks for the catch, @arnaudon! You are definitely correct. This puts the initialize mechanism in sync with the CLI mechanism.

Don't worry about the breaking docs test. I will fix that in a future PR.

@kmpaul kmpaul merged commit 37fd9a7 into dask:main Nov 29, 2023
@arnaudon
Copy link
Contributor Author

You are welcome!

@arnaudon arnaudon deleted the fix_local_dir branch November 29, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants