Kraken Community Installation
Stephen Skory maintains an installation of yt on NICS Kraken that is available for use by the community. These instructions explain how to use it.
The installation is located at /lustre/scratch/proj/yt_common/trunk and can be used in-place.
#!/bin/bash
#PBS -N proj
#PBS -j oe
#PBS -l walltime=12:00:00,size=24
#PBS -A YOUR_GRANT_HERE
cd $PBS_O_WORKDIR
export MPLCONFIGDIR=${PBS_O_WORKDIR}/.matplotlib/
export YT_DIR=/lustre/scratch/proj/yt_common/trunk
[ ! -d ${MPLCONFIGDIR} ] && mkdir ${MPLCONFIGDIR}
aprun -n 16 -S 4 ${YT_DIR}/bin/python2.6 ./my_script.py --parallel
Your python script, my_script.py, should be a normal yt script. You will probably have to change the aprun settings, and you will definitely have to change the -A option.
