<div dir="ltr">Hi Claire, <div><br></div><div>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: <a href="http://paste.yt-project.org/show/4480/">http://paste.yt-project.org/show/4480/</a> .</div>

<div><br></div><div>Hope that helps!</div><div>-Hilary</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 5, 2014 at 7:44 PM, Claire Kopenhafer <span dir="ltr"><<a href="mailto:clairekope@gmail.com" target="_blank">clairekope@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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!<span class="HOEnZb"><font color="#888888"><br clear="all">

<div><div dir="ltr">-Claire</div></div>

</font></span></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>