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 #1

Open
nisach02 opened this issue Aug 30, 2024 · 3 comments
Open

Multiprocessing #1

nisach02 opened this issue Aug 30, 2024 · 3 comments

Comments

@nisach02
Copy link

When running GELATO on multiple objects with multiprocessing option, the fitting time per object increases quite a lot.
For example, if I run 1 object on a single CPU, it would take ~1 minute to fit the spectra. But if I run 4 objects with 4 CPUs on multiprocessing, it takes more than 4-5 minutes to fit each spectra.
This behaviour was found when running GELATO on a cluster.

@TheSkyentist
Copy link
Owner

TheSkyentist commented Aug 31, 2024 via email

@nisach02
Copy link
Author

nisach02 commented Sep 2, 2024

Were the single-core and multi-core tests performed on the same machine? Are you able to reproduce this on a laptop/desktop?

They were performed on the same machine. I could not reproduce this issue in my personal computer though (MacbookPro i7 2020 version). i.e, no issues at all. The issues could be something to do with the EDR machines running the code in parallel.

@TheSkyentist
Copy link
Owner

TheSkyentist commented Sep 3, 2024 via email

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

2 participants