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.md5sum.pt

    r42451 r42452  
    1212  $RAWFIX_MD5SUM_INIT = 1
    1313end
     14
     15$MAX_MD5HOST = 2
    1416
    1517# select nights which are ready for md5sum calcs
     
    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:md5host -uniq -setword pantaskState INIT stdout md5host.book
    102104    book setword md5sum.book $options:0 NHOST {$Nhosts - 1}
    103105    book setword md5sum.book $options:0 NDONE 0
    104     book list
    105     book listbook md5sum.book
     106    # book list
     107    # book listbook md5sum.book
    106108    # use the queuesize (Nhosts) to track how many jobs are done / to be done
    107109  end
     
    166168      $host:$USE_HOST = 0
    167169    end
    168     if (not($host:$USE_HOST))
     170    if ($host:$USE_HOST < $MAX_MD5HOST)
    169171      control host add $USE_HOST
    170       $host:$USE_HOST = 1
     172      $host:$USE_HOST ++
    171173    end
    172174
Note: See TracChangeset for help on using the changeset viewer.