Hi all, how would you suggest running AbsorptionSpectrum in parallel? I'm looking to make spectra for thousands of rays as efficiently as I can. Thanks! -Claire
Hi Claire,
This is really easy using the yt parallel_objects function! Since the
spectra are all independent of one another you can just assign one process
to each spectrum, which parallel_objects does for you if you add it to your
loop. Here's an example of how you would use this:
http://paste.yt-project.org/show/4480/ .
Hope that helps!
-Hilary
On Sat, Apr 5, 2014 at 7:44 PM, Claire Kopenhafer
Hi all, how would you suggest running AbsorptionSpectrum in parallel? I'm looking to make spectra for thousands of rays as efficiently as I can. Thanks! -Claire
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Claire Kopenhafer
-
Hilary Egan