[yt-users] running volume_render.py in a batch script
Agarwal, Shankar
sagarwal at ku.edu
Thu Apr 14 08:06:35 PDT 2011
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
More information about the yt-users
mailing list