IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38079 for trunk


Ignore:
Timestamp:
Apr 2, 2015, 2:07:03 PM (11 years ago)
Author:
watersc1
Message:

Initial versions of the remote diff scripts.

Location:
trunk/ippScripts/scripts
Files:
2 added
3 edited

Legend:

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

    r38000 r38079  
    9090my ($workdir,$exp_tag,$reduction);
    9191{
    92 ###    $command    = "$camtool -processedexp -cam_id $cam_id "; ### THIS LINE ONLY TO TEST! 
     92
    9393    my $command = "$camtool -pendingexp -cam_id $cam_id ";
     94    $command    = "$camtool -processedexp -cam_id $cam_id "; ### THIS LINE ONLY TO TEST! 
    9495    $command   .= " -dbname $dbname " if defined($dbname);
    9596
  • trunk/ippScripts/scripts/sc_prepare_run.pl

    r37833 r38079  
    2424# my $remote_root   = '/lustre/scratch1/turquoise/watersc1/ps1/'; # Far side destination base location
    2525my $remote_root = '/scratch3/watersc1/';
    26 my $remote_raw    = "${remote_root}/tmp/";  # Directory to find raw data in.
    27 
    28 my $threads       = 2;                      # How many threads are we going to use?
     26my $remote_raw  = "${remote_root}/tmp/";  # Directory to find raw data in.
     27
     28my $threads     = 2;                      # How many threads are we going to use?
    2929
    3030my $fail_state = "prep_fail";
     
    3737$job_cost{"stack"}  = 1500 / 60 / 60;
    3838$job_cost{"staticsky"} = 2; # really?  avg time of 5720s?
     39$job_cost{"diff"}   = 300 / 60 / 60;
    3940
    4041# This object holds how "expensive" a given job is in terms of cores on a node. 
     
    4647$job_subscription{"stack"}  = 3;
    4748$job_subscription{"staticsky"} = 3;
     49$job_subscription{"diff"} = 1;
    4850
    4951my $proc_per_node = 24;                     # processors per node
  • trunk/ippScripts/scripts/sc_remote_poll.pl

    r37833 r38079  
    510510        ($class_id, $stage_id) = $file =~ /(skycell.\d\d\d\d.\d\d\d).stk.(\d*).dbinfo/;
    511511    }
    512 
     512    elsif ($stage eq 'staticsky') {
     513#       ($class_id, $stage_id) = $file =~ /(/;
     514    }
     515    elsif ($stage eq 'diff') {
     516#       ($class_id,$stage_id) = $file =~ /(/;
     517    }
    513518    return ($stage_id, $class_id);
    514519}
Note: See TracChangeset for help on using the changeset viewer.