#!/bin/csh -f
# export bb

#cd /nfs/ex3/bb/progress
#setenv ZINC_CONFIG_OVERRIDE ~/.zinc15/export-override.cfg
#source /nfs/soft/www/apps/zinc15/envs/production/env.csh

@ I = 0
@ delta = 1
@ max = 210
@ tranche = 10000000

while ($I < $max )
	@ start = 1 + ($I * $tranche )
	@ I = $I + $delta 
	@ end = $I * $tranche 
	python  /export/exe/work/jji/bb/bin/exportbb.py  $start $end > $I.txt
	echo $I
end
