- Timestamp:
- Aug 12, 2014, 3:55:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/ippScripts/scripts/sc_prepare_stack.pl
r36966 r37242 18 18 19 19 # 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 21 my $remote_root = '/lustre/scratch1/turquoise/watersc1/ps1/'; # Far side destination base location 22 $remote_root = '/scratch3/watersc1/'; 21 23 my $threads = 2; # How many threads are we going to use? 22 24 my $job_cost = 1500 / 60 / 60; # Estimate of how long a job runs, in hours. … … 29 31 my @return_component_list = ("DBINFO.EXP", "PPSTACK.UNCONV","PPSTACK.UNCONV.MASK","PPSTACK.UNCONV.VARIANCE", 30 32 "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"); 33 35 #,"PPSTACK.CONV.KERNEL"); 34 36 # Look for programs we need … … 147 149 # This actually returns all the individual stack/skyfiles that comprise this run. Because consistency. 148 150 my $command = "$stacktool -inputskyfile -stack_id $stack_id "; 149 151 $command .= " -dbname $dbname " if defined($dbname); 150 152 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 151 153 run(command => $command, verbose => 0); … … 208 210 my ($ipp_disk, $remote_disk) = uri_to_outputs_for_return( $filename); 209 211 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 "; 211 213 } 212 214
Note:
See TracChangeset
for help on using the changeset viewer.
