IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 19, 2008, 12:30:55 PM (18 years ago)
Author:
eugene
Message:

adding thread command-line option

File:
1 edited

Legend:

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

    r19113 r19127  
    2525my $ipprc = PS::IPP::Config->new(); # IPP configuration
    2626
    27 my ($warp_id, $skycell_id, $tess_dir, $camera, $dbname, $outroot, $verbose, $no_update, $no_op, $redirect, $save_temps);
     27my ($warp_id, $skycell_id, $tess_dir, $camera, $dbname, $outroot, $threads, $verbose, $no_update, $no_op, $redirect, $save_temps);
    2828GetOptions(
    2929    'warp_id|i=s'       => \$warp_id, # Warp identifier
     
    3333    'dbname|d=s'        => \$dbname, # Database name
    3434    'outroot=s'         => \$outroot, # Output root name
     35    'threads=s'         => \$threads,   # Number of threads to use for ppImage
    3536    'verbose'           => \$verbose,   # Print to stdout
    3637    'no-update'         => \$no_update, # Don't update the database?
     
    171172    my $command = "$pswarp";
    172173    $command .= " -list $imageName";
    173     # $command .= " -threads 4";
    174174    $command .= " -masklist $maskName";
    175175    $command .= " -weightlist $weightName";
     
    183183    $command .= " -psf";        # Turn on PSF determination
    184184    $command .= " -tracedest $traceDest -log $logDest";
     185    $command .= " -threads $threads" if defined $threads;
    185186    $command .= " -dbname $dbname" if defined $dbname;
    186187
Note: See TracChangeset for help on using the changeset viewer.