IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19352


Ignore:
Timestamp:
Sep 4, 2008, 8:34:15 AM (18 years ago)
Author:
eugene
Message:

added threading option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/stack_skycell.pl

    r19303 r19352  
    2828use Pod::Usage qw( pod2usage );
    2929
    30 my ($stack_id, $dbname, $outroot, $debug, $verbose, $no_update, $no_op, $save_temps);
     30my ($stack_id, $dbname, $outroot, $debug, $threads, $verbose, $no_update, $no_op, $save_temps);
    3131GetOptions(
    3232    'stack_id|d=s'      => \$stack_id, # Stack identifier
     
    3434    'outroot=s'         => \$outroot, # Output root name
    3535    'debug'             => \$debug,   # Print to stdout
     36    'threads=s'         => \$threads,   # Number of threads to use for ppStack
    3637    'verbose'           => \$verbose,   # Print to stdout
    3738    'no-update'         => \$no_update, # Don't update the database?
     
    177178    $command .= " -F PSPHOT.BACKMDL PSPHOT.BACKMDL.MEF";
    178179    $command .= " -photometry";
     180    $command .= " -threads $threads" if defined $threads;
    179181    $command .= " -debug-stack" if defined $debug;
    180182    $command .= " -tracedest $traceDest -log $logDest";
Note: See TracChangeset for help on using the changeset viewer.