#!/bin/bash
#PBS -N BW4096yt
#PBS -l nodes=1:ppn=8:x
#PBS -l walltime=24:00:00
###PBS -V
#PBS -j oe
#PBS -m be
#PBS -r n
#PBS -M hxu@ucsd.edu
##PBS -A TG-MCA98N020
##PBS -q normal

cd /u/sciteam/haox/scratch/xray_heating/1keV

module swap  PrgEnv-cray PrgEnv-gnu 
#module load openmpi_ib hdf5
source /u/sciteam/haox/yt-x86_64/bin/activate

#python slice.py 
#aprun -n 4 python h2kdiss_higtogram.py --parallel &> output2
#aprun -n 128 python Halo_finder.py --parallel &> output1

#python array_256_to_512.py &> output1
#aprun -n 1024 python xray-evo-multi-cumu-mpi1.py --parallel &> output1
#aprun -n 1024 python xray-evo-multi-mpi.py --parallel &> output
python tem-profile.py &> output3


#python seedme_ticker.py
#python PopIII_stars_type1.py &> output3
#python PopIII_stars_type5.py &> output4
#python PopII_stars.py &> output5
#aprun -n 4 python PopIII_halos_type1.py &> output6
#aprun -n 4 python PopIII_halos_type5.py &> output7
#aprun -n 4 python PopII_halos_mpi.py &> output8

#for field in Density Temperature Metallicity3 Metallicity Electron_Fraction; do
#    for dim in 0 1 2; do
#	mpirun -np 16 -npernode 8  -hostfile $PBS_NODEFILE python proj.py --parallel DD0111/output_0111 $field $dim
#    done
#done

exit 0

