#!/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 = $1
@ delta = 1
@ max = $I + 50
@ tranche = 100000

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