Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using multiprocessing to speed up the network analysis procedures with pandana #192

Open
Linhkust opened this issue Nov 29, 2024 · 0 comments

Comments

@Linhkust
Copy link

If you encounter a bug in Pandana please: 1) first search the previously opened issues to see if the problem has already been reported; 2) If not, fill in the template below and tag with the appropriate Type label. You can delete any sections that do not apply.

Description of the bug

Hello, I am wondering how I can speed up the network analysis procedures with pandana?

I wrote the codes to calculate the calculate the distance between 1000 points and some fixed points one by one with pandana.
I tried to use multiprocessing package to run the process in multiple workers but it failed. Is it possible to use pandana and multiprocessing to calculate multiple distances at the same time?

Network data (optional)

If the issue is related to specific network data please provide a link to download the data or the function used to download the data.

Environment

  • Operating system:

  • Python version:

  • Pandana version:

  • Pandana required packages versions (optional):

Paste the code that reproduces the issue here:

# place code here

Paste the error message (if applicable):

# place error message here
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

No branches or pull requests

1 participant