<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="">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 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 apple-content-edited="true" class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" 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="font-variant-ligatures: no-common-ligatures; 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="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class="">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;" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">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;" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(195, 55, 32); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; 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="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">z</span>', ('<span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">gas</span>', '<span style="font-variant-ligatures: no-common-ligatures; 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 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="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 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></body></html>