Simulating large scenarios / parallel execution #229
Replies: 1 comment 3 replies
-
We do have support to run multiple flights in parallel with the same set of meteorogoly (see example Run CoCiP on multiple flights). This is much more efficiency than running one flight at a time. But for simulations where the meteorology won't fit into memory, there aren't built-in parallel execution managers using Your suggested workaround has been our general approach to the probelm as well - For the very large simulations, we'll find a chunk of meteorology that is small enough to fit in memory (generally 1 - 2 days like you suggest) and run all the flights in the domain. Then we'll parallelize these jobs in separate processes (or VMs). @zebengberg, @roger-teoh or @thabbott feel free to chime in here if have other thoughts or examples |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm working on a large scenario involving a one-year timeframe with a high number of flights per day. I'm seeking efficient strategies to handle such large-scale simulations with respect to computation time, as I have access to parallel computing resources.
From my understanding, there are no built-in parallel execution methods in pycontrails. I've attempted to brute-force parallelize cocip.eval using tools like joblib and multiprocessing, but this approach significantly slows down the calculations. I suspect the issue is memory-bound, particularly due to accessing the weather data variables.
One potential workaround I've considered is splitting the data into daily simulations and running each day in parallel. However, I would appreciate any additional experiences or suggestions on handling such large scenarios more efficiently.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions