Setting the Truncate Time
NOTE: The truncate time is a very very dangerous thing...
please make sure you know what you are doing before setting
anything.
- For a list of continuous runs:
- Find the end time of the last
run in the list
- In the configuration file of the PC farm being used,
/nfs/oprserv0x/u1/PCx/prod/OprProcessingSys/OprConfPCx.xml
Add the following text:
12 series releases:
< ConfigEntry CalibTruncateTime="04/20/02 19:38:24"\ >
14 series releases:
< ConfigEntry CalibTruncateTime="20May2002 19:38:24"\ >
(Add the CORRECT time; given time is for format demonstration
purposes only!)
- Once the first run starts, check that the truncate time is set correctly:
In the subdirectory elftcl of the logdir, look in ElfRunSetup_runNum.tcl, and then grep in any flog
file: grep 'truncate time set' flogs/*
- For a list of discontinuous runs:
For now you must set the truncate time by hand before processing each
run or small set of runs. In the future we should be able to have the
truncate time set automatically to the end of the current run if a flag
is set when submitting the runs. This should be the case for Run4.
- Find the end time of each
run in the list, or if there are two or more consecutive runs you
can just get the end time of the last run in the small chunk.
- Make sure there is NO truncate time set in the configuration file for
the farm (see above instructions).
- Set the truncate time for the farm for the next run(s) to process:
../bin/$BFARCH/OprCmd.pl -iUser,Farm -noprserv0x setcalibtruncatetime PCx "date time"
12 & 14 series releases: "date time" = "20May2002 19:38:24"
(Use the CORRECT time for that run; given time is for format demonstration
purposes only!)
Important NOTE: This truncate time is now set for all runs you submit
to the farm, you MUST change it each time you submit a new run (or small set
of runs).
- Submit a run(s), but ONLY the ones that are correct for the truncate time that you set.
- Once the run starts, check that the truncate time is set correctly:
In the logdir look in ElfRunSetup_runNum.tcl, and then grep in any flog
file: grep 'truncate time set' flogs/*.
- Once the last run in the block is done and the farm is asleep:
- Delete the temporal database
- Start back at step 3 for the next block of runs
Ada Elizabeth Rubin
Last modified: Wed Aug 20 15:05:09 PDT 2003