<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Guys,<div class=""><br class=""></div><div class="">Thanks for all of you. The problem is I was running out of the whole memory of our service. I tried my script on a service which has a very large memory, then it’s all good. I really appreciate your help.</div><div class=""><br class=""></div><div class="">Cheers,<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span style="font-size: 14px;" class=""><span style="font-family: Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">-- </span><br style="font-family: Helvetica, Arial, sans-serif;" class=""><span style="font-family: Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">Yuxiang Qin</span></span></div><div class=""><span style="font-size: 14px;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="Helvetica, Arial, sans-serif" class="">PhD Student</font><br style="font-family: Helvetica, Arial, sans-serif;" class=""></span><span style="font-family: Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">School of Physics</span><br style="font-family: Helvetica, Arial, sans-serif;" class=""><span style="font-family: Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">The University of Melbourne</span><br style="font-family: Helvetica, Arial, sans-serif;" class=""><span style="font-family: Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">VIC, Australia, 3010</span></span><br style="font-family: Helvetica, Arial, sans-serif; font-size: 15px;" class=""></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 15 Jan 2015, at 14:11, Yuxiang Qin <<a href="mailto:yuxiangq@student.unimelb.edu.au" class="">yuxiangq@student.unimelb.edu.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Nathan,<div class=""><br class=""></div><div class="">Thanks for your reply. I just got an email from a consultant of the service where I run my script. He tells me I used much more memory than what the node s have. So I need to run my script on a node which has larger memory. I would try this later. If it still doesn’t work, I would share my data to you and please help me check it. Thanks a lot for your kindest help.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Yuxiang<br class="">
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On 14 Jan 2015, at 19:46, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" class="">nathan12343@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jan 13, 2015 at 4:29 PM, Yuxiang Qin <span dir="ltr" class=""><<a href="mailto:yuxiangq@student.unimelb.edu.au" target="_blank" class="">yuxiangq@student.unimelb.edu.au</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Dear YT-Users,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">of course, that's what the mailing list is for :)</div><div class=""> </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" class=""><div class=""><br class=""></div><div class="">I tried to do <b class="">mpirun -np 4 myscript.py </b>, but it always failed even when I used very simple script like<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">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/" class="">paste.yt-project.org</a> set up to share error and code snippets like this.</div><div class=""> </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" class=""><div class=""><div class="">
<div style="text-align:start;text-indent:0px;word-wrap:break-word" class=""><div class=""><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)" class=""><span style="color:#5330e1" class="">#!/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)" class=""><span style="color:#d53bd3" class="">import</span> yt                                                        </div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0); min-height: 14px;" class="">                                                                 <br class=""></div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)" class="">yt.enable_parallelism()                                          </div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0); min-height: 14px;" class="">                                                                 <br class=""></div><div style="margin:0px;font-family:'Andale Mono';color:rgb(195,55,32);background-color:rgb(0,0,0)" class=""><span style="color:#29f914" class="">fname=('</span>../../Smaug/NOZCOOL_LateRe_L010N0512/data/snapshot_103/snap_103.0.hdf5<span style="color:rgb(41,249,20)" class="">') </span><span style="color:rgb(41,249,20)" class="">                                                 </span></div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)" class="">ds = yt.load(fname)                                              </div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)" class="">pz = yt.ProjectionPlot(ds, '<span style="color:#c33720" class="">z</span>', ('<span style="color:#c33720" class="">gas</span>', '<span style="color:#c33720" class="">temperature</span>'),weight_field='<span style="color:rgb(195,55,32)" class="">density</span>')                                                    </div><div style="margin:0px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)" class="">pz.save()                                                        </div></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Nathan</div><div class=""> </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" class=""><div class=""><div class=""><div style="text-align:start;text-indent:0px;word-wrap:break-word" class=""><div class=""><br class=""></div><div class="">Warmest sincerely,</div><div class=""><br class=""></div><div class=""><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255);font-size:14px" class="">--</span></div><div class=""><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255);font-size:14px" class="">Yuxiang Qin</span></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><span style="font-size:14px" class=""><span style="background-color:rgb(255,255,255)" class=""><font face="Helvetica, Arial, sans-serif" class="">PhD Student</font><br style="font-family:Helvetica,Arial,sans-serif" class=""></span><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)" class="">School of Physics</span><br style="font-family:Helvetica,Arial,sans-serif" class=""><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)" class="">The University of Melbourne</span><br style="font-family:Helvetica,Arial,sans-serif" class=""><span style="font-family:Helvetica,Arial,sans-serif;background-color:rgb(255,255,255)" class="">VIC, Australia, 3010</span></span><br style="font-family:Helvetica,Arial,sans-serif;font-size:15px" class=""></div></div>
</div>
<br class=""></div></div><br class="">_______________________________________________<br class="">
yt-users mailing list<br class="">
<a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="">
<br class=""></blockquote></div><br class=""></div></div>
_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class=""><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br class=""></div></blockquote></div><br class=""></div></body></html>