OOHit Formatting


This page describes the steps involve in OOHit formatting.

scripts/DeclareHitsJobs.sh -a assignment_id

This command creates a directory for data_set_name under OOHit directory. Then it creats a directory production under data set name directory. Then it creates the following directory structure under production directory

The command gets list of all fz files for the given data set from tape drive and creates these files in "declared" directory without fz suffix. If it fails to create a entry in "declared" direcotry, it reports that error mesage. If you receive no error message, it means every thing is ok.

scripts/CreateHitsJobs.sh -v data_set_name

This command creats a batch directory under data set name. Then it creates the following directory structure under batch directory

This command creats entries in asociations, created and declared directories for each fz file. It also creates script from hits_template for each fz file and puts them into script directory. Then it creates job desription file for each entry and puts them in jdf directory.

scripts/RunJob.sh -v -j OOHit assignment_id [number]

This command submit all jobs one by one to production farms that you have mension in command for a given data set. We can see entries of all jobs that have ben submitted successfully in batch/submitted directory. OOHit formatting consist of three stages.

In first stage, each fz file is staged from enstore tape to run time area. Then in second stage, hitformatting is done. In final stage hit run number is validated. These three stages executes one after the other and depend on the exit code of the previous stage. If the exit code from previous stage was not zero, it does not execute the next stage. After the job have been completed successfully, it moves files entry to done directory. If somehow job does not run successfully, it moves files entry to problems directory.
 
 

Last update: May  30,  2001
by    Shafqat Aziz