- Timestamp:
- Sep 19, 2014, 4:05:27 PM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/lap_science.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/ippScripts/scripts/lap_science.pl
r36680 r37403 34 34 my $qstack_threshold = 0.05; # Only make a quickstack if more than 5% of the exposures require it. 35 35 my $minimum_stack_inputs = 2; # We can avoid magicking stack inputs if we have more than this number. 36 my $do_updates_pv2 = 1; # Do updates using the calls needed for PV2. 36 my $maximum_stack_inputs = 25; # This is the place-holder guess on how big a stack we should process locally 37 my $do_updates_pv2 = 0; # Do updates using the calls needed for PV2. 37 38 38 39 GetOptions( … … 190 191 $chip_cmd .= " -set_workdir $workdir -set_dist_group $exposure->{dist_group} "; 191 192 $chip_cmd .= " -set_reduction LAP_SCIENCE "; 193 # $chip_cmd .= " -set_reduction LAP_POLE "; 192 194 193 195 my ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 1036 1038 my $data_group = "${label}.${proj_cell}.final.${lap_id}"; 1037 1039 1040 1041 ## 1042 ## Queue the "shallow" stacks that will run at los alamos. 1038 1043 my $command = "$stacktool "; 1039 1044 $command .= " -pretend " if defined $debug; … … 1042 1047 # $command .= " -select_label $label "; # Removed to allow exposure sharing to work 1043 1048 $command .= " -set_label ${label} -set_workdir $workdir -set_data_group $data_group "; 1044 $command .= " -min_num ${minimum_stack_inputs} - set_reduction THREEPI_STACK_1DG -set_dist_group $exposure->{dist_group} ";1049 $command .= " -min_num ${minimum_stack_inputs} -max_num ${maximum_stack_inputs} -set_reduction THREEPI_STACK_1DG -set_dist_group $exposure->{dist_group} "; 1045 1050 $command .= " $warps "; 1046 1051 … … 1053 1058 my $stacks_made = $mdcParser->parse_list(join "", @$stdout_buf) or 1054 1059 &my_die("unable to parse metadata from stacktool -definebyquery", $lap_id, ""); 1055 1060 1061 ## 1062 ## Queue the "deep" stacks that will run locally. 1063 my $deep_minimum = $maximum_stack_inputs + 1; 1064 $command = "$stacktool "; 1065 $command .= " -pretend " if defined $debug; 1066 $command .= " -dbname $dbname " if defined $dbname; 1067 $command .= " -definebyquery -select_skycell_id ${proj_cell}.% -select_filter $filter "; 1068 # $command .= " -select_label $label "; # Removed to allow exposure sharing to work 1069 $command .= " -set_label ${label}.local -set_workdir $workdir -set_data_group $data_group "; 1070 $command .= " -min_num ${deep_minimum} -set_reduction THREEPI_STACK_1DG -set_dist_group $exposure->{dist_group} "; 1071 $command .= " $warps "; 1072 1073 ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 1074 run(command => $command, verbose => $verbose); 1075 unless ($success) { 1076 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 1077 &my_die("Unable to perform stacktool -definebyquery: $error_code", $lap_id); 1078 } 1079 my $stacks_made_deep .= $mdcParser->parse_list(join "", @$stdout_buf) or 1080 &my_die("unable to parse metadata from stacktool -definebyquery", $lap_id, ""); 1081 1082 # Append deep stacks to stacks so we can get a complete count later. 1083 push @{ $stacks_made}, @{ $stacks_made_deep }; 1084 1085 ## Determine the sass_id so we can record it in the database. 1056 1086 $command = "$stacktool "; 1057 1087 $command .= " -dbname $dbname " if defined $dbname; … … 1415 1445 1416 1446 my @clean_modes = ( 1417 'chiptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -chip_id @CHIP_ID@',1447 # 'chiptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -chip_id @CHIP_ID@', 1418 1448 # 'warptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -warp_id @WARP_ID@', 1419 1449 'difftool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -diff_id @DIFF_ID@',
Note:
See TracChangeset
for help on using the changeset viewer.
