IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42454


Ignore:
Timestamp:
Apr 21, 2023, 3:19:30 PM (3 years ago)
Author:
eugene
Message:

remove ipp060 references; use programs in PATH

Location:
trunk/tools/eam/rawfix.20230221
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/Makefile

    r42453 r42454  
    55BIN     =       ~/src/bin/rawfix
    66SRC     =       src
    7 
    8 install: $(PROGRAMS)
    9 
    10 $(PROGRAMS): % : $(BIN)/%
    11 
    12 # copied from Makefile.Common : use a single c file: foo : foo.c
    13 .PRECIOUS: $(BIN)/%
    14 
    15 $(BIN)/% : $(SRC)/%
    16         @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    17         rm -f $(BIN)/$*
    18         cp $(SRC)/$* $(BIN)/$*
    19 
    20 PROGRAMS = $(PANTASKS) $(DB_PROG) $(PERL_PROG) $(TOOLS)
    217
    228PANTASKS = \
     
    5844fix_chip_failures.pl \
    5945
     46PROGRAMS = $(PANTASKS) $(DB_PROG) $(PERL_PROG) $(TOOLS)
     47
     48install: $(PROGRAMS)
     49
     50$(PROGRAMS): % : $(BIN)/%
     51
     52$(BIN)/% : $(SRC)/%
     53        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
     54        rm -f $(BIN)/$*
     55        cp $(SRC)/$* $(BIN)/$*
     56
     57
  • trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh

    r42446 r42454  
    1414
    1515# make the rawfix database to track rawfix operations
    16 set DBHOST = "ipp060"
     16set DBHOST = "ippc190"
    1717set DBNAME = "rawfix"
    1818set DBUSER = "dvo"
  • trunk/tools/eam/rawfix.20230221/src/get_hosts_fixchip.sh

    r42449 r42454  
    2727  set chipID = `echo $f | awk -F/ '{print $NF}' | awk -F. '{print $1}'`
    2828  if ("$myhost" == "") then
    29     set myhost = ipp060
     29    set myhost = ipp156
    3030  endif
    3131  echo $dateobs $chipID $iter $myhost
    3232end
    3333
    34 ## XXX ipp060 is hardwired for no good reason
     34## XXX ipp156 is hardwired for no good reason
  • trunk/tools/eam/rawfix.20230221/src/queue.rawfix.sh

    r42450 r42454  
    1010
    1111# make the rawfix database to track rawfix operations
    12 set DBHOST = "ipp060"
     12set DBHOST = "ippc190"
    1313set DBNAME = "rawfix"
    1414set DBUSER = "dvo"
  • trunk/tools/eam/rawfix.20230221/src/rawfix.advance.pt

    r42452 r42454  
    1717
    1818  task.exec
    19     #
    2019    command advance.rawfix.pl --mode all --topdir $mypath --Nmax $MAX_ACTIVE_NIGHTS
    2120  end
  • trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt

    r42447 r42454  
    9090
    9191    # this command accesses the Nebulous and GPC databases, so it must run at ITC.
    92     command $mypath/check_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --stage $ITER
     92    command check_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --stage $ITER
    9393  end
    9494
  • trunk/tools/eam/rawfix.20230221/src/rawfix.fixchip.pt

    r42452 r42454  
    9393    # the command returns these fields: dateobs stage fixhost chipID
    9494    # NOTE: stage == ITER
    95     command $mypath/get_hosts_fixchip.sh $mypath $DATEOBS $ITER
     95    command get_hosts_fixchip.sh $mypath $DATEOBS $ITER
    9696  end
    9797
     
    172172    # if we are able to run the 'exec', use a short retry time to launch all outstanding jobs
    173173    periods -exec 0.05
    174     command $mypath/fix_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --chipID $CHIP_ID --stage $ITER
     174    command fix_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --chipID $CHIP_ID --stage $ITER
    175175  end
    176176
  • trunk/tools/eam/rawfix.20230221/src/rawfix.md5chk.pt

    r42447 r42454  
    8686
    8787    ## this command does NOT use Nebulous or GPC so it can run anywhere
    88     command $mypath/check_md5s_dateobs.pl --topdir $mypath --dateobs $FULLDATE --stage $ITER
     88    command check_md5s_dateobs.pl --topdir $mypath --dateobs $FULLDATE --stage $ITER
    8989  end
    9090
  • trunk/tools/eam/rawfix.20230221/src/rawfix.md5sum.pt

    r42452 r42454  
    9393    # the command returns these fields: dateobs stage md5host
    9494    # NOTE: stage == ITER
    95     command $mypath/get_hosts_md5s.sh $mypath $DATEOBS $ITER
     95    command get_hosts_md5s.sh $mypath $DATEOBS $ITER
    9696  end
    9797
     
    160160    stderr $mypath/$DATEOBS/log.md5sum.runhosts.v$ITER 
    161161
    162     # XXX TEST: $USE_HOST = ipp060
    163162    $USE_HOST = $MD5HOST
    164163    host -required $USE_HOST
     
    179178    # if we are able to run the 'exec', use a short retry time to launch all outstanding jobs
    180179    periods -exec 0.05
    181     command $mypath/get_md5s_instances.pl --hostname $USE_HOST --topdir $mypath --dateobs $DATEOBS --stage $ITER
    182 #   command $mypath/get_md5s_instances.pl --hostname $USE_HOST --input $input --stage $ITER
     180    command get_md5s_instances.pl --hostname $USE_HOST --topdir $mypath --dateobs $DATEOBS --stage $ITER
    183181  end
    184182
  • trunk/tools/eam/rawfix.20230221/src/update.rawfix.sh

    r42446 r42454  
    1616
    1717# make the rawfix database to track rawfix operations
    18 set DBHOST = "ipp060"
     18set DBHOST = "ippc190"
    1919set DBNAME = "rawfix"
    2020set DBUSER = "dvo"
Note: See TracChangeset for help on using the changeset viewer.