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

Multiprocessing option #44

Open
leguillf opened this issue Feb 3, 2020 · 1 comment
Open

Multiprocessing option #44

leguillf opened this issue Feb 3, 2020 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@leguillf
Copy link

leguillf commented Feb 3, 2020

Since a filtering process, specific to one time of the window, seems to be independent from others, it would be computationally effective to implement a multiprocessing architecture. Have you already developed such an architecture ? Otherwise, I would be happy to help you on that issue.

@angus-g
Copy link
Owner

angus-g commented Mar 23, 2020

Sorry for not getting back to you on this! You're absolutely correct that this is pretty amenable to multiprocessing. At the moment we're using OpenMP within the custom OceanParcels fork to parallelise over particles for advection. Because we're doing filtering in 2D, we manually split into tasks over different Z levels (and/or timesteps) within batch jobs on our HPC. This works fine for the moment, but it's a bit labour-intensive. Additionally, it doesn't give us a single, collated output file so some post-processing is required.

I think it would be pretty cool if we could get some task-level parallelism for this. It could be farmed out to dask or something fairly easily.

@angus-g angus-g added enhancement New feature or request question Further information is requested labels Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants