#!/bin/csh -f
# ************************************************************************
# *                                                                      *
# *   Control file for reweighting X/S non-VLBA experiments.             *
# *                                                                      *
# * ## 02-JUL-2007  rewei_no_vlba.csh  v1.0 (c) L. Petrov 19-JUL-2007 ## *
# *                                                                      *
# ************************************************************************
set proc = 1
set SOLVE_INIT = P{$proc}
set log_file   = $SPOOL_DIR/p{$proc}.log
set sol_dir    = /vlbi/solutions/rewei
solve_reset $SOLVE_INIT 40000 30000            >>&! $log_file
if ( -f $log_file ) rm $log_file   
nohup solve $SOLVE_INIT $sol_dir/elim_no_vlba.cnt $proc 2 >>&! $log_file &
#
sleep 8
set proc = 2
set SOLVE_INIT = P{$proc}
set log_file   = $SPOOL_DIR/p{$proc}.log
set sol_dir    = /vlbi/solutions/rewei
solve_reset $SOLVE_INIT 40000 30000            >>&! $log_file
if ( -f $log_file ) rm $log_file   
nohup solve $SOLVE_INIT $sol_dir/elim_no_vlba.cnt $proc 2 >>&! $log_file &
