Changeset 42607 for trunk/tools/eam/rebalance/launch.find.sh
- Timestamp:
- Feb 5, 2024, 8:49:27 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/tools/eam/rebalance/launch.find.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rebalance/launch.find.sh
r42606 r42607 3 3 # set mode to 'find' or 'find.test' 4 4 set mode = find 5 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401296 7 source $mydir/configure.sh8 5 set program = `basename $0` 6 source $HOME/.rebalance.sh 9 7 10 8 if ($#argv == 0) then … … 21 19 echo ssh -f $srchost[$i] "cd $mydir && ./$program run $i" 22 20 ssh -f $srchost[$i] "cd $mydir && ./$program run $i" 23 @ i++21 @ i++ 24 22 end 25 23 exit 0 … … 42 40 set myhost = `hostname` 43 41 if ($hn != $myhost) then 44 echo "ERROR: need to run findon the source host ($hn vs $myhost)"42 echo "ERROR: need to run $mode on the source host ($hn vs $myhost)" 45 43 exit 3 46 44 endif 47 45 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" 49 47 mkdir -p $hn.$hv 50 48 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.
