- 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_camera.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 = 1700 / 60 / 60; # Estimate of how long a job runs, in hours. … … 27 29 my $max_time = 8; # longest allocation to ask for 28 30 my $remote_hostname= "LANL/Mustang"; # Name of the remote node. 29 my @return_component_list = ("DBINFO.EXP", "PSASTRO.CONFIG", "PSASTRO.OUTPUT", "LOG.EXP", "TRACE.EXP","PSASTRO.STATS");31 my @return_component_list = ("DBINFO.EXP", "PSASTRO.CONFIG", "PSASTRO.OUTPUT", "LOG.EXP", "PSASTRO.STATS"); 30 32 # Look for programs we need 31 33 my $missing_tools; … … 186 188 $psastro_command .= " -recipe PSASTRO $recipe_psastro "; 187 189 $psastro_command .= " -tracedest ${remote_outroot}.trace -log ${remote_outroot}.log "; 188 $psastro_command .= " -dumpconfig ${remote_outroot}. mdc -stats ${remote_outroot}.stats ";190 $psastro_command .= " -dumpconfig ${remote_outroot}.psastro.mdc -stats ${remote_outroot}.stats "; 189 191 $psastro_command .= " -recipe PPSTATS CAMSTATS "; 190 192 … … 202 204 my ($ipp_disk, $remote_disk) = uri_to_outputs_for_return( $filename); 203 205 my $remote_outroot_dir = dirname($ipp_disk); 204 print CONFIG " && mkdir -p ${remote_root}/tmp/${remote_outroot_dir} && ln -sf $remote_disk ${remote_root}/tmp/${ipp_disk} ";206 print CONFIG " && mkdir -p ${remote_root}/tmp/${remote_outroot_dir} && ln -sf $remote_disk ${remote_root}/tmp/${ipp_disk} && touch $remote_disk "; 205 207 } 206 208 foreach my $chipInfo (@{ $inpData2 }) { … … 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 print CONFIG "\n"; … … 239 241 $node_req = int(($node_need * $job_cost) / ($fill_factor * $time_req)) + 1; 240 242 } 243 $time_req += 1; # Safety addition. 241 244 242 245 open(COMMAND, ">$disk_command") || &my_die("Couldn't open file? $disk_command",$remote_id,$PS_EXIT_SYS_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
