Changeset 34221 for trunk/ippScripts/scripts/nightly_science.pl
- Timestamp:
- Jul 30, 2012, 5:21:45 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/nightly_science.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/nightly_science.pl
r34018 r34221 1006 1006 $cmd .= " -set_reduction NIGHTLY_STACK "; 1007 1007 } 1008 if (defined($science_config{$target}{ADDITIONAL_STACK_LABEL})) { 1009 # Grab list of skycells 1010 my $skycell_select = ''; 1011 { 1012 my %skycells = (); 1013 my $warpcmd = "$warptool -warped -label $label -data_group $data_group -dbname $dbname"; 1014 my ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf) = 1015 run(command => $warpcmd, verbose => $verbose); 1016 unless($success) { 1017 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 1018 &my_die("Unabel to perform warptool -warped to determine skycell_ids: $error_code",$target); 1019 } 1020 my $runs = $mdcParser->parse_list(join "", @$stdout_buf) or 1021 &my_die("Unabel to parse warptool -warped to determine skycell_ids: $error_code",$target); 1022 if ($#{ $runs } != -1) { 1023 for my $warp (@$runs) { 1024 $skycells{$warp->{skycell_id}} = 1; 1025 } 1026 foreach my $skycell (sort (keys (%skycells))) { 1027 $skycell_select .= " -skycell $skycell "; 1028 } 1029 $cmd .= " -select_label $science_config{$target}{ADDITIONAL_STACK_LABEL} $skycell_select "; 1030 } 1031 } 1032 } 1008 1033 $cmd .= " $select "; 1009 1034 if ($debug == 1) {
Note:
See TracChangeset
for help on using the changeset viewer.
