Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This process assumes that there has been a successful run of the RePipe task for the Run in question.  If the run is less than 30 days old, you might be able to do the repiping and reprocessing by L1 using the instructions on Instructions for rolling back a halfPipe stream and susbsequent L1 stream.  Try that first.

The following instructions are adapted from instructions provided by Maria Elena (the original e-mail with her instructions is included at the end of the page).  I've adapeted adapted it to use some environment variables to save a bunch of typing. After setting the environment variables in step 1, you can just copy and paste most of these commands (expcet expect the ones in step 6).

These instructions assume you are logged in as glastraw

...

setenv dn2 <second delivery number>

Note: Usually any give given run will span two deliveries.  If it only spans one, you only have to do the following for the single run.  if the run spans three deliveries, just add a third one (i.e. dn3) and a third copy of each of the commands in the following steps, adjusting as needed.

...

cp ../RePipe/$rn/r0$rn/r0${rn}-retired.txt $dn2/retired_runs_$dn2.txt

6) copy Copy over the magic7 data

cp /nfs/farm/g/glast/u41/L1/runs/<first 3 digits of run number>/r0$rn/r0${rn}_${dn1}_v000_magic7Hp.txt $dn1/magic7_$dn1.txt

...

Note that the version number might be larger than v000 or v001, and there might be mutliple multiple versions for any given directory if the run had to rolled back, so you should check the run directory to see what the largest version number is for each delivery.

...

Note: if the run spanned three deliveries, you'll need to distribute some of the files from the second mv command to the third delivery directory.  If there was only one, you can leave out all the 0's before the wildcard '*' in the first command.

8) Then follow the instructions on this page - Instructions for rolling back a halfPipe stream and susbsequent L1 stream - starting at the "Fix the Chunk Lists" section, with the following variations in the "Fix the Failed L1Proc Streams" section.

...

b) Wait until the findChunk process is running (this will create a lock file).

c) roll Roll back all the other streams.

...