IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2023, 10:36:27 AM (3 years ago)
Author:
eugene
Message:

some improvements (make sure to examine md5s for chip-specific inst files, randomly draw the new nights)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/rawfix.fixchip.pt

    r42451 r42452  
    1212  $RAWFIX_FIXCHIP_INIT = 1
    1313end
     14
     15$MAX_FIXHOST = 2
    1416
    1517# select nights in state fixchip.new
     
    9799    # convert the stdout 'queue' to entries in a book
    98100    # fields in the table will become words in the page
    99     queueprint stdout
     101    # queueprint stdout
    100102    queuesize stdout -var Nhosts
    101103    queue2book -raw-columns -key dateobs:chipID -uniq -setword pantaskState INIT stdout fixhost.book
    102104    book setword fixchip.book $options:0 NHOST {$Nhosts - 1}
    103105    book setword fixchip.book $options:0 NDONE 0
    104     book list
    105     book listbook fixchip.book
     106    # book list
     107    # book listbook fixchip.book
    106108    # use the queuesize (Nhosts) to track how many jobs are done / to be done
    107109  end
     
    163165      $host:$FIXHOST = 0
    164166    end
    165     if (not($host:$FIXHOST))
     167    if ($host:$FIXHOST < $MAX_FIXHOST)
    166168      control host add $FIXHOST
    167       $host:$FIXHOST = 1
     169      $host:$FIXHOST ++
    168170    end
    169171
Note: See TracChangeset for help on using the changeset viewer.