IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2024, 8:49:27 AM (2 years ago)
Author:
eugene
Message:

cleaning scripts further

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rebalance/launch.find.sh

    r42606 r42607  
    33# set mode to 'find' or 'find.test'
    44set mode = find
    5 set mydir = /data/ipphome1.0/home/eugene/rebalance.20240129
    6 
    7 source $mydir/configure.sh
    85set program = `basename $0`
     6source $HOME/.rebalance.sh
    97
    108if ($#argv == 0) then
     
    2119    echo ssh -f $srchost[$i] "cd $mydir && ./$program run $i"
    2220         ssh -f $srchost[$i] "cd $mydir && ./$program run $i"
    23   @ i++
     21    @ i++
    2422  end
    2523  exit 0
     
    4240  set myhost = `hostname`
    4341  if ($hn != $myhost) then
    44     echo "ERROR: need to run find on the source host ($hn vs $myhost)"
     42    echo "ERROR: need to run $mode on the source host ($hn vs $myhost)"
    4543    exit 3
    4644  endif
    4745
    48   echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"
     46  echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"
    4947  mkdir -p $hn.$hv
    5048  echo "./rebalance.mana $mode $hn $hv $tn $tv $version $fraction > & $hn.$hv/log.$mode.$version.$run &"
Note: See TracChangeset for help on using the changeset viewer.