s-goldman / Dusty-Evolved-Star-Kit

SED-fitting python package for fitting evolved stars
https://dusty-evolved-star-kit.readthedocs.io
Other
15 stars 2 forks source link

User control of multiprocessing #146

Closed TomGoffrey closed 3 years ago

TomGoffrey commented 4 years ago

Whilst carrying out my JOSS review I wondered if there was a reason to not allow the user finer-grained control of the multiprocessing? My understanding right now is that the user can either run with a single process, or on N-1 processes, where N is the number of (logical) cores. I can think of cases where the user might want to run with an intermediate value, or indeed with N processes rather than N-1.

Is this possible?

s-goldman commented 3 years ago

@TomGoffrey I think that is a great idea. I can add in the option of Multiprocessing=(True, False, or number_of_core).