To add to what Sam said, I think you can force yt to save the projections of the individual reginos by adding the node_name=<string> keyword arg to the projection call.  As long as you give unique names, there shouldn't be a problem and the same script should be able to reload them from the .yt file.<div>
<br></div><div>Britton<br><br><div class="gmail_quote">On Tue, May 1, 2012 at 9:05 PM, Sam Skillman <span dir="ltr"><<a href="mailto:samskillman@gmail.com" target="_blank">samskillman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rick,<div><br></div><div>For me, running on a single 2.93 GHz Xeon core, it takes 9.818254e+02 seconds to project the LCL7 for unweighted density. With the change I mention below, on 8 cores, this took the time down to 1.796410e+02 seconds.  If you have a parallel file system this will probably be a better speedup.  </div>




<div><br></div><div>For the lightcone, you may benefit quite a lot by swapping out the quad tree projection for the (for now) much more parallel overlap projection method and running in parallel.  This works best for naturally domain decomped simulations like the light cone.  Note this is only faster in parallel.  The quad tree method is much faster in serial. You would do this with:</div>




<div><br></div><div>pf.h.proj = pf.h.overlap_proj</div><div><br></div><div>after you've loaded the parameter file, and run your script (as is) with mpirun -np N your_script.py --parallel</div><div><br></div><div>You can probably get decent speedup values for N = 32 or 64. There are some scaling performance plots from yt about a year ago in the method paper.</div>




<div><br></div><div>I also might suggest forgetting about saving all of these through the plot collection and instead just make all the projections first.  They will be saved in the .yt files and can later be recalled in serial where you can play around with the various figures.  It does this automatically so when you try to load up a plot collection with a density projection, for example, it will just read it in from the .yt file.  That way you can just get all the adaptive projections and pan/zoom/export however you want later.  Note that this method of saving the projections will only work for the full box projections.  The region based projections are not currently saved automatically.</div>



<div><br></div><div>Anyways, those are my two cents.  </div><span class="HOEnZb"><font color="#888888"><div>Sam</div></font></span><div class="HOEnZb"><div class="h5"><div><br></div><div><br></div><div><br></div><div> </div>
<div><br><div class="gmail_quote">On Tue, May 1, 2012 at 6:15 PM, Richard P Wagner <span dir="ltr"><<a href="mailto:rpwagner@sdsc.edu" target="_blank">rpwagner@sdsc.edu</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I wanted to build a sequence of projections using various color maps along each axis. The data set I'm using the z = 0 one from the L7 simulation some of you are familiar with. Here's the paste of my current script:<br>





  <a href="http://paste.yt-project.org/show/2335/" target="_blank">http://paste.yt-project.org/show/2335/</a><br>
<br>
(The early sys.exit is deliberate.)<br>
<br>
Does anyone have an estimate of the time doing this projection serially should take? After two hours it was still going without having produced the first image. The same plots done on the z = 2.75 data took about 15 minutes (this data has about 1/5 the number of grids, though).<br>





<br>
I will also gladly take advice on better methods for the projections, or if the benefit to doing this in parallel is worth it.<br>
<br>
Thanks,<br>
Rick<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>

</blockquote></div>
</div>
</div></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>