Closed misi9170 closed 1 month ago
Something to decide on is the default parallel interface. My thinking is that the default should be "multiprocessing"
, even though "pathos"
is faster, because the multiprocessing
package is pretty ubiquitous and pathos
is still on version 0.x
Something to decide on is the default parallel interface. My thinking is that the default should be
"multiprocessing"
, even though"pathos"
is faster, because themultiprocessing
package is pretty ubiquitous andpathos
is still on version 0.x
I agree, using multiprocessing seems the better choice for default
We have decided to leave out mpi4py support for now. If requested, we may consider including this in future.
This pull requests provides a new interface for parallel computing with FLORIS. The existing
ParallelFlorisModel
was not fully consistent with the newFlorisModel
andUncertainFlorisModel
developed for FLORIS v4. This addresses the inconsistency in a new class,ParFlorisModel
.ParallelFlorisModel
will remain in FLORIS v4 to avoid making breaking changes, but now has a deprecation warning and will be removed in the next major version release of FLORIS.This addresses #971 and possibly partially address #944.
Development still to take place:
ParallelFlorisModel
and the new class with increasingn_findex
and increasingn_turbines
, and can be run on both HPC and locally. Report results.multiprocessing
]run()
calls are needed [Yes, withpathos
package]Checklist before converting this draft to full PR status and preparing for merger: