Changeset 27711
- Timestamp:
- Apr 19, 2010, 4:05:01 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ippScripts/scripts/automate_stacks.pl (modified) (3 diffs)
-
ippTasks/nightly_stacks.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/automate_stacks.pl
r27631 r27711 67 67 'logfile=s' => \$logfile, 68 68 'verbose' => \$verbose, 69 'debug' => \$debug, 69 70 'isburning' => \$isburning, 70 71 'force_stack_count' => \$force_stack_count, … … 263 264 $metadata_out{nsState} = 'STACKING'; 264 265 &execute_stacks($date); 266 if ($metadata_out{nsState} == 'QUEUESTACKING') { 267 $metadata_out{nsState} = 'STACKING_POSSIBLE_ERROR'; 268 } 265 269 return_metadata($date); 266 270 exit(0); … … 681 685 my ($Nexposures,$NprocChips,$NprocWarps,$Nalready) = pre_stack_queue($date,$target,$filter); 682 686 if ((!defined($force_stack_count))&&($NprocChips != $NprocWarps)) { # This makes me sad. :( 683 # print STDERR "execute_stacks: Target $target on $date is not fully processed. ($NprocChips $NprocWarps)\n"; 687 if ($debug == 1) { 688 print STDERR "execute_stacks: Target $target on $date is not fully processed. ($NprocChips $NprocWarps)\n"; 689 } 684 690 $metadata_out{nsState} = 'FORCETOWARP'; 685 691 next; 686 692 } 687 693 if ($Nexposures == 0) { 688 # print STDERR "execute_stacks: Target $target in filter $filter on $date has no exposures.\n"; 694 if ($debug == 1) { 695 print STDERR "execute_stacks: Target $target in filter $filter on $date has no exposures.\n"; 696 } 689 697 next; 690 698 } 691 699 if ($Nalready != 0) { 692 # print STDERR "execute_stacks: Not queueing $target in filter $filter on $date due to already existing stacks.\n"; 700 if ($debug == 1) { 701 print STDERR "execute_stacks: Not queueing $target in filter $filter on $date due to already existing stacks.\n"; 702 } 703 unless ($metadata_out{nsState} eq 'FORCETOWARP') { 704 $metadata_out{nsState} = 'STACKING'; 705 } 693 706 next; 694 707 } 695 unless ( $metadata_out{nsState} eq 'FORCETOWARP') {708 unless (($metadata_out{nsState} eq 'FORCETOWARP')||($metadata_out{nsState} eq 'STACKING')) { 696 709 $metadata_out{nsState} = 'QUEUESTACKS'; 697 710 } 698 711 unless(defined($pretend)) { 699 # print STDERR "execute_stacks: Target $target in filter $filter on $date has exposures and will be queued.\n"; 712 if ($debug == 1) { 713 print STDERR "execute_stacks: Target $target in filter $filter on $date has exposures and will be queued.\n"; 714 } 700 715 stack_queue($date,$target,$filter); 701 716 } -
trunk/ippTasks/nightly_stacks.pro
r27641 r27711 370 370 periods -poll $LOADPOLL 371 371 periods -exec $LOADEXEC 372 periods -timeout 30372 periods -timeout 120 373 373 npending 1 374 374 … … 424 424 periods -poll $LOADPOLL 425 425 periods -exec $LOADEXEC 426 periods -timeout 30426 periods -timeout 120 427 427 npending 1 428 428
Note:
See TracChangeset
for help on using the changeset viewer.
