<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 13, 2015 at 4:29 PM, Yuxiang Qin <span dir="ltr"><<a href="mailto:yuxiangq@student.unimelb.edu.au" target="_blank">yuxiangq@student.unimelb.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Dear YT-Users,<div><br></div><div>I am a fresh man to YT-project. I got a few questions for parallel computation on yt. May I ask for help?</div></div></blockquote><div><br></div><div>of course, that's what the mailing list is for :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>I tried to do <b>mpirun -np 4 myscript.py </b>, but it always failed even when I used very simple script like<br></div></div></blockquote><div><br></div><div>In what way does it fail?  If there is an error, can you send a copy/paste of the full error?  We have <a href="http://paste.yt-project.org">paste.yt-project.org</a> set up to share error and code snippets like this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>
<div style="text-align:start;text-indent:0px;word-wrap:break-word"><div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="color:#5330e1">#!/usr/bin/env python</span>                                            </div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="color:#d53bd3">import</span> yt                                                        </div><p style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0);min-height:14px">                                                                 <br></p><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">yt.enable_parallelism()                                          </div><p style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0);min-height:14px">                                                                 <br></p><div style="margin:0px;font-family:'Andale Mono';color:rgb(195,55,32);background-color:rgb(0,0,0)"><span style="color:#29f914">fname=('</span>../../Smaug/NOZCOOL_LateRe_L010N0512/data/snapshot_103/snap_103.0.hdf5<span style="color:rgb(41,249,20)">') </span><span style="color:rgb(41,249,20)">                                                 </span></div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">ds = yt.load(fname)                                              </div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">pz = yt.ProjectionPlot(ds, '<span style="color:#c33720">z</span>', ('<span style="color:#c33720">gas</span>', '<span style="color:#c33720">temperature</span>'),weight_field='<span style="color:rgb(195,55,32)">density</span>')                                                    </div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">pz.save()                                                        </div></div><div><br></div><div>I am using the data from Dr. Alan Duffy. His data is similar to OWLS. So when I tried to run a similar script with sample data downloaded from yt website, it works. Does anyone know what’s going on here? Is anything wrong with my data format or script? How to check it?</div></div></div></div></div></blockquote><div><br></div><div>If you feel comfortable sharing the data file, one of us could try loading your data file on our local machine. If you don't feel comfortable sharing the data file publicly, I'm happy to work with you off-list to get a copy of the data file.</div><div><br></div><div>Best,</div><div><br></div><div>Nathan</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div style="text-align:start;text-indent:0px;word-wrap:break-word"><div><br></div><div>Warmest sincerely,</div><div><br></div><div><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255);font-size:14px">--</span></div><div><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255);font-size:14px">Yuxiang Qin</span></div><div style="color:rgb(0,0,0);letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:14px"><span style="background-color:rgb(255,255,255)"><font face="Helvetica, Arial, sans-serif">PhD Student</font><br style="font-family:Helvetica,Arial,sans-serif"></span><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)">School of Physics</span><br style="font-family:Helvetica,Arial,sans-serif"><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)">The University of Melbourne</span><br style="font-family:Helvetica,Arial,sans-serif"><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)">VIC, Australia, 3010</span></span><br style="font-family:Helvetica,Arial,sans-serif;font-size:15px"></div></div>
</div>
<br></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></div>