#!/bin/bash

#cd /u/sciteam/haox/scratch/rarepeak_LW/RD0037

#source /Users/haoxu/software/yt-x86_64/bin/activate

python read_haloes_PopIII.py 
python read_haloes_remove_overlap.py
python PopIII_binary_Xray_halo_distribution_40Ms.py
python PopIII_binary_halo_Xray_sources_40Ms.py
python histogram_xray_distribution.py
python read_haloes_PopII.py
python read_haloes_PopIII_halo.py
python read_haloes_PopII_halo.py
python histogram_PopIII_distribution.py
python histogram_PopII_distribution.py
python plot_histogram.py


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

#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

