IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 12, 2014, 3:55:38 PM (12 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippScripts/scripts/sc_prepare_stack.pl

    r36966 r37242  
    1818
    1919# Hard coded values
    20 my $remote_root   = '/scratch3/watersc1/';  # Far side destination base location
     20#my $remote_root   = '/scratch3/watersc1/';  # Far side destination base location
     21my $remote_root   = '/lustre/scratch1/turquoise/watersc1/ps1/'; # Far side destination base location
     22$remote_root = '/scratch3/watersc1/';
    2123my $threads       = 2;                      # How many threads are we going to use?
    2224my $job_cost      = 1500 / 60 / 60;           # Estimate of how long a job runs, in hours.
     
    2931my @return_component_list = ("DBINFO.EXP", "PPSTACK.UNCONV","PPSTACK.UNCONV.MASK","PPSTACK.UNCONV.VARIANCE",
    3032                             "PPSTACK.UNCONV.EXP","PPSTACK.UNCONV.EXPWT","PPSTACK.UNCONV.EXPNUM","PSPHOT.OUTPUT",
    31                              "LOG.EXP","TRACE.EXP", "PSASTRO.STATS",
    32                              "PPSTACK.CONFIG","PPSTACK.TARGET.PSF");
     33                             "LOG.EXP", "PSASTRO.STATS",
     34                             "PPSTACK.CONFIG","PPSTACK.TARGET.PSF","PSPHOT.STACK.PSF.SAVE");
    3335#,"PPSTACK.CONV.KERNEL");
    3436# Look for programs we need
     
    147149    # This actually returns all the individual stack/skyfiles that comprise this run.  Because consistency.
    148150    my $command = "$stacktool -inputskyfile -stack_id $stack_id ";
    149 
     151    $command .= " -dbname $dbname " if defined($dbname);
    150152    ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    151153        run(command => $command, verbose => 0);
     
    208210        my ($ipp_disk, $remote_disk) = uri_to_outputs_for_return( $filename);
    209211        my $remote_outroot_dir = dirname($ipp_disk);
    210         print CONFIG " && mkdir -p ${remote_root}/tmp/${remote_outroot_dir} && ln -sf $remote_disk ${remote_root}/tmp/${ipp_disk} ";
     212        print CONFIG " && mkdir -p ${remote_root}/tmp/${remote_outroot_dir} && ln -sf $remote_disk ${remote_root}/tmp/${ipp_disk} && touch $remote_disk ";
    211213    }
    212214
Note: See TracChangeset for help on using the changeset viewer.