Changeset 10041 for trunk/Mars/datacenter/scripts/runceres
- Timestamp:
- 10/27/10 17:48:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/datacenter/scripts/runceres
r9919 r10041 37 37 set -C 38 38 39 # get sequence # 40 gettodo "1" 41 run=${primaries[0]} 42 cereskey=${primaries[1]} 43 44 # lock sequ for cal 45 lockfile=$lockpath/lock-$step-$run.$cereskey.txt 46 checklock 39 # get run # 40 numchanged=0 41 while (( 0 < 21 )) 42 do 43 if ! [ $numchanged -eq 1 ] 44 then 45 if ! [ "$run" = "" ] && ! [ "$cereskey" = "" ] 46 then 47 printprocesslog "INFO $program for run $run cereskey $cereskey is already running => request new number " 48 fi 49 gettodo "1" 50 run=${primaries[0]} 51 cereskey=${primaries[1]} 52 if [ "$run" = "" ] || [ "$cereskey" = "" ] 53 then 54 printprocesslog "INFO nothing to do for $program " 55 fi 56 else 57 printprocesslog "INFO starting $program for run $run cereskey $cereskey" 58 break 59 fi 60 setstatus "start" 61 done 47 62 48 63 cd $mars 49 64 50 # run calibration for sequence 51 printprocesslog "INFO starting $program for run $run and ceres-setup $cereskey" 52 53 setstatus "start" 65 # run ceres for run 54 66 55 67 setupfile=$setuppath/$program/`printf %03d $cereskey`/ceres.rc
Note:
See TracChangeset
for help on using the changeset viewer.