Hi Yuan,<br><br>This could be a result of using different version of yt on the two different platforms. Can you check and see which version of yt you're using on kraken? I believe there are modules for versions 2.2, 2.3, and the development branch on kraken.<br>
<br>Also, the variable "slice" is already used in python for something else. If slice is apart of your script, you may want to rename that to something else.<br><br>If your script only works on the most recent version of yt, you'll probably want to try to use the yt/dev module on Kraken.<br>
<br>Britton<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 5:18 PM, Yuan Li <span dir="ltr"><<a href="mailto:bear0980@gmail.com" target="_blank">bear0980@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 all,<br><br>I have been having trouble running yt on kraken. I am using the same script that I use on trestles (where it sort of works). The issue I have on kraken is that when I submit a non-interactive job, I get this error:<br>
+ aprun -n 12 ./try1.py --parallel<br>Traceback (most recent call last):<br> File "/var/spool/alps/2310447/try1.py", line 3, in <module><br> slice(imin=12, imax=47, width=20)<br>TypeError: slice() does not take keyword arguments<br>
<br><br>If I run an interactive job (./try1.py --parallel), I get this error:<br>yuan@krakenpf2:~/scratch/Thermal09> Assertion failed in file /ptmp/ulib/mpt/nightly/5.2/051011/mpich2/src/mpid/cray/src/adi/mpid_init.c at line 115: 0<br>
aborting job:<br>(null)<br><br><br>I can run a non-parallel interactive job (./try1.py) without any problem.<br><br>My script looks like this:<br>#!/lustre/scratch/proj/sw/yt/dev/bin/python<br>from profile import *<br>slice(imin=41, imax=47, width=20)<br>
<br><br>Thanks!<span class="HOEnZb"><font color="#888888"><br>Yuan<br>
</font></span><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>