Hi Yuan,

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.

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.

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.

Britton

On Wed, Jul 25, 2012 at 5:18 PM, Yuan Li <bear0980@gmail.com> wrote:
Hi all,

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:
+ aprun -n 12 ./try1.py --parallel
Traceback (most recent call last):
  File "/var/spool/alps/2310447/try1.py", line 3, in <module>
    slice(imin=12, imax=47, width=20)
TypeError: slice() does not take keyword arguments


If I run an interactive job (./try1.py --parallel), I get this error:
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
aborting job:
(null)


I can run a non-parallel interactive job (./try1.py) without any problem.

My script looks like this:
#!/lustre/scratch/proj/sw/yt/dev/bin/python
from profile import *
slice(imin=41, imax=47, width=20)


Thanks!
Yuan

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org