<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Sam,<div><br></div><div>I am using the version that John installed on Pleiades.</div><div>I got some other unrelated problems with profiling before and John was kind enough to </div><div>revert back to an older version (I think). Anyway, this is what I got:</div><div><br></div><div>/u/jhwise/local/lib/python2.7/site-packages/yt-2.4-py2.7-linux-x86_64.egg</div><div><br></div><div>Separately, I will try your transpose fix and will let you know.</div><div><br></div><div>But the KDTree was really smoking fast (50-100 times compared to without) that</div><div>makes things very efficient. I would like to thank you for that.</div><div><br></div><div>Thanks very much,</div><div>Renyue</div><div><br></div><div><br><div><div>On Jan 8, 2013, at 11:25 AM, Sam Skillman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><p dir="ltr">Hi Renyue,</p><p dir="ltr">I have actually seen this on one other system but I could never reproduce it. Could you tell me the version of yt you are using? If you run "yt instinfo" it should tell you. I haven't seen this bug for the last few months so I thought it was gone.  </p><p dir="ltr">Additionally, can you try the following at the end of your script:</p><p dir="ltr">im=cam.snapshot('test1.png')<br>
</p><p style="">write_bitmap(im, 'test2.png', transpose=False)</p><p style="">I think there may have been something wrong with the transposing of the image for a short time period a few months ago.  I have very sporadic and unreliable internet at AAS but I'll try to respond as quickly as possible.</p><p style="">Sorry for the trouble,</p><p style="">Sam</p><p style=""><br></p>
<div class="gmail_quote">On Jan 7, 2013 10:11 AM, "Renyue Cen" <<a href="mailto:cen@astro.princeton.edu" target="_blank">cen@astro.princeton.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div style="word-wrap:break-word">Hi,<div><br></div><div>I did some simple volume rendering with the following script:</div><div><br></div><div><div>    volume2 = AMRKDTree(pf, fields=["Dark_Matter_Density"],</div>


<div>                no_ghost=False, tree_type="domain",</div><div>                le=c-0.5*WW, re=c+0.5*WW)</div><div>    cam = pf.h.camera(c, L, W, N, tf, volume=volume2, no_ghost=False,</div><div>                north_vector=L, steady_north=True)</div>


<div>    cam.snapshot(fn="%s_iso-DMdensity-%3.3d.png" % (filenameTHIS, j))</div></div><div><br></div><div><br></div><div>I got rather strange results in that the pictures look symmetric, which I am pretty</div>

<div>
sure can not be true.</div><div>I attach the obtained plot.</div><div>Note that I am using KD tree and using 32 cores. </div><div><br></div><div>Your help at your earliest convenience is appreciated.</div><div>Best,</div>


<div>Renyue</div><div><br></div><div><br></div><div><span><C15z1600.0043_iso-DMdensity-000.png></span></div></div></blockquote></div>
</div>
</blockquote></div><br></div></body></html>