[yt-users] running volume_render.py in a batch script

Britton Smith brittonsmith at gmail.com
Thu Apr 14 08:35:37 PDT 2011


Hi Shankar,

It's tough to tell from the error output what the issue is.  If you want to
check that it's an mpi4py issue, try running something like this:

from mpi4py import MPI
print MPI.COMM_WORLD.rank

If that fails as well, then it's definitely an issue with mpi4py.  Let us
know how that goes.

Britton

On Thu, Apr 14, 2011 at 11:06 AM, Agarwal, Shankar <sagarwal at ku.edu> wrote:

> Hi,
>
> I have a volume_render.py script that runs fine on the login node on
> NCSA-EMBER. But the same script crashes with the following error when run
> through qsub.
>
> MPI: MPI_COMM_WORLD rank 0 has terminated without calling MPI_Finalize()
> MPI: aborting job
> MPI: Received signal 11
>
>
> My batch script is...
>
> #!/bin/sh -x
> #PBS -l walltime=00:10:00
> #PBS -l mem=32000mb
> #PBS -l ncpus=1
> #PBS -q debug
> #PBS -V
> #PBS -A TG-AST080030N
> #PBS -N movie
> #PBS -m be
> #export MPI_MEMMAP_OFF=1
> cd /gpfs1/u/ac/sagarwal/junk
> mpirun -np 1
> /u/ac/sagarwal/software/enzo/src/yt/doc/yt-x86_64/bin/python2.6
> volume_render.py
>
>
>
> Here are the first few lines of the volume_render.py...
>
> import matplotlib;matplotlib.use("Agg");import pylab
> import numpy as na
> import time
> from yt.config import ytcfg; ytcfg["yt","loglevel"] = '50' ;
> ytcfg["lagos","serialize"] = "False"
>
> from yt.mods import *
> from yt.extensions.volume_rendering import *
> from yt.funcs import *
> mh = na.log10(1.67e-24)
> from mpi4py import MPI
>
>
> Please let me know if it may have something to do with mpi4py.
> Shankar
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110414/df2bbfc3/attachment.html>


More information about the yt-users mailing list